Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to pass glob patterns to match image, and add "exempt" policy #45

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

codysoyland
Copy link
Contributor

This PR adds Helm values policy.images and policy.exemptImages to the trust-policies Helm chart. policy.images is a list of image glob patterns that the policy applies to, and policy.exemptImages is a list of image glob patterns that will be exempt from verification.

Usage:

helm install trust-policies \
--atomic \
--namespace artifact-attestations \
--version v0.5.0 \
--set policy.enabled=true \
--set policy.images[0]='ghcr.io/my-org/**' \
--set policy.exemptImages[0]="index.docker.io/library/busybox**" \
oci://ghcr.io/github/artifact-attestations-helm-charts/trust-policies

…licy

Signed-off-by: Cody Soyland <codysoyland@github.com>
@codysoyland codysoyland requested review from steiza and a team as code owners July 3, 2024 18:09
Copy link
Contributor

@bdehamer bdehamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codysoyland codysoyland merged commit e34dbee into main Jul 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants