1
0
mirror of synced 2024-11-25 18:54:23 +01:00

Add Sigstore integration to nocode

This policy will prevent nocode from running unless it's been signed by nokey
This commit is contained in:
John Osborne 2022-10-18 15:51:53 -04:00 committed by GitHub
parent 6c073b08f7
commit 8065218727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
apiVersion: policy.sigstore.dev/v1beta1
kind: ClusterImagePolicy
metadata:
name: nocode-nopolicy-nokey-noproblem
spec:
images:
- glob: "**"
- key:
data: |
-----BEGIN PUBLIC KEY-----
-----END PUBLIC KEY-----