mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
fix: transfer image verify iamges to kyverno (#11340)
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
parent
373f942ea9
commit
00fd6d47f8
36 changed files with 43 additions and 43 deletions
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
verifyImages:
|
verifyImages:
|
||||||
- failureAction: Enforce
|
- failureAction: Enforce
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- "ghcr.io/chipzoller/zulu*"
|
- "ghcr.io/kyverno/zulu*"
|
||||||
attestations:
|
attestations:
|
||||||
- type: https://slsa.dev/provenance/v0.2
|
- type: https://slsa.dev/provenance/v0.2
|
||||||
attestors:
|
attestors:
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
verifyImages:
|
verifyImages:
|
||||||
- failureAction: Enforce
|
- failureAction: Enforce
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- "ghcr.io/chipzoller/zulu*"
|
- "ghcr.io/kyverno/zulu*"
|
||||||
attestations:
|
attestations:
|
||||||
- type: https://slsa.dev/provenance/v0.2
|
- type: https://slsa.dev/provenance/v0.2
|
||||||
attestors:
|
attestors:
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -32,6 +32,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: https://slsa.dev/provenance/v0.2
|
predicateType: https://slsa.dev/provenance/v0.2
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -32,6 +32,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: cosign.sigstore.dev/attestation/vuln/v1
|
predicateType: cosign.sigstore.dev/attestation/vuln/v1
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
|
@ -32,6 +32,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: cosign.sigstore.dev/attestation/vuln/v1
|
predicateType: cosign.sigstore.dev/attestation/vuln/v1
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -23,5 +23,5 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: https://slsa.dev/provenance/v0.2
|
predicateType: https://slsa.dev/provenance/v0.2
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -40,6 +40,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: https://slsa.dev/provenance/v0.2
|
predicateType: https://slsa.dev/provenance/v0.2
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
|
@ -40,6 +40,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: https://slsa.dev/provenance/v0.2
|
predicateType: https://slsa.dev/provenance/v0.2
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
|
@ -39,6 +39,6 @@ spec:
|
||||||
value: true
|
value: true
|
||||||
predicateType: https://slsa.dev/provenance/v0.2
|
predicateType: https://slsa.dev/provenance/v0.2
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
webhookTimeoutSeconds: 30
|
webhookTimeoutSeconds: 30
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
verifyImages:
|
verifyImages:
|
||||||
- failureAction: Enforce
|
- failureAction: Enforce
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- "ghcr.io/chipzoller/zulu:*"
|
- "ghcr.io/kyverno/zulu:*"
|
||||||
attestors:
|
attestors:
|
||||||
- count: 1
|
- count: 1
|
||||||
entries:
|
entries:
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14
|
- image: ghcr.io/kyverno/zulu:v0.0.14
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -21,7 +21,7 @@ spec:
|
||||||
url: https://rekor.sigstore.dev
|
url: https://rekor.sigstore.dev
|
||||||
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu:*
|
- ghcr.io/kyverno/zulu:*
|
||||||
mutateDigest: true
|
mutateDigest: true
|
||||||
required: true
|
required: true
|
||||||
verifyDigest: true
|
verifyDigest: true
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu
|
- image: ghcr.io/kyverno/zulu
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu:latest":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu:latest":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu
|
- image: ghcr.io/kyverno/zulu
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -21,7 +21,7 @@ spec:
|
||||||
url: https://rekor.sigstore.dev
|
url: https://rekor.sigstore.dev
|
||||||
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
mutateDigest: false
|
mutateDigest: false
|
||||||
required: false
|
required: false
|
||||||
verifyDigest: false
|
verifyDigest: false
|
||||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu
|
- image: ghcr.io/kyverno/zulu
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -2,10 +2,10 @@ apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kyverno.io/verify-images: '{"ghcr.io/chipzoller/zulu:latest":"pass"}'
|
kyverno.io/verify-images: '{"ghcr.io/kyverno/zulu:latest":"pass"}'
|
||||||
name: zulu
|
name: zulu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu
|
- image: ghcr.io/kyverno/zulu
|
||||||
name: zulu
|
name: zulu
|
||||||
|
|
|
@ -21,7 +21,7 @@ spec:
|
||||||
url: https://rekor.sigstore.dev
|
url: https://rekor.sigstore.dev
|
||||||
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
subject: https://github.com/chipzoller/zulu/.github/workflows/slsa-generic-keyless.yaml@refs/tags/v*
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- ghcr.io/chipzoller/zulu*
|
- ghcr.io/kyverno/zulu*
|
||||||
mutateDigest: false
|
mutateDigest: false
|
||||||
required: true
|
required: true
|
||||||
verifyDigest: false
|
verifyDigest: false
|
||||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
namespace: exclude-refs
|
namespace: exclude-refs
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: test
|
name: test
|
||||||
resources: {}
|
resources: {}
|
||||||
- image: ghcr.io/kyverno/kyverno:latest
|
- image: ghcr.io/kyverno/kyverno:latest
|
||||||
|
|
|
@ -55,7 +55,7 @@ spec:
|
||||||
imageReferences:
|
imageReferences:
|
||||||
- "ghcr.io/*"
|
- "ghcr.io/*"
|
||||||
skipImageReferences:
|
skipImageReferences:
|
||||||
- "ghcr.io/chipzoller*"
|
- "ghcr.io/kyverno*"
|
||||||
failureAction: Enforce
|
failureAction: Enforce
|
||||||
attestors:
|
attestors:
|
||||||
- count: 1
|
- count: 1
|
||||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
namespace: exclude-refs
|
namespace: exclude-refs
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/chipzoller/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
- image: ghcr.io/kyverno/zulu:v0.0.14@sha256:476b21f1a75dc90fac3579ee757f4607bb5546f476195cf645c54badf558c0db
|
||||||
name: test
|
name: test
|
||||||
resources: {}
|
resources: {}
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
|
Loading…
Reference in a new issue