Skip to content

docs: use subjectRegExp in keyless ImageValidatingPolicy wildcard example #2174

Description

@fadyy2k

The ImageValidatingPolicy keyless example states that regular expressions are supported through identities.subjectRegExp / issuerRegExp, but the sample immediately below uses a wildcard in the exact subject field (https://github.com/myorg/myrepo/.github/workflows/*).\n\nKyverno exposes a dedicated subjectRegExp option in the API/verifier path, so the sample would be clearer and less ambiguous if it used an anchored subjectRegExp for the GitHub Actions workflow identity while keeping the exact OIDC issuer.\n\nI can submit a small docs-only PR with that correction and build verification.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions