Skip to content

Instantly share code, notes, and snippets.

@benmoss
Created July 12, 2022 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benmoss/bc340e8bb866324fe5ee72cd82d342da to your computer and use it in GitHub Desktop.
Save benmoss/bc340e8bb866324fe5ee72cd82d342da to your computer and use it in GitHub Desktop.
apiVersion: policy.packaging.carvel.dev/v1alpha1
kind: PackagePolicy
metadata:
name: carvel-policy
spec:
pattern: "*.carvel.dev"
threshold: 1
authorities:
- key:
data: |
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
- key:
kms: awskms:///arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
- keyless:
url: https://fulcio.example.com
identities:
- issuer: https://example.com
subject: .*@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment