Skip to content

Commit 143e606

Browse files
committed
Fixes after meetup
1 parent 8bd4710 commit 143e606

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

120_kubernetes/kyverno/cosign-test.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: cosign-test
22
policies:
33
- cosign-policy.yaml
44
resources:
5-
- rekor.yaml
5+
- cosign-pod.yaml
66
results:
77
- policy: check-image
88
rule: check-image
99
namespace: default
10-
kind: Deployment
11-
resource: rekor-server
10+
kind: Pod
11+
resource: cosign
1212
result: pass

120_kubernetes/kyverno/cosign.demo

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Apply policy for cosign
44
kubectl apply -f cosign-policy.yaml
55

6-
# Test policy
7-
helm repo add sigstore https://sigstore.github.io/helm-charts
8-
helm template rekor sigstore/rekor >rekor.yaml
9-
kyverno test --file-name cosign-test.yaml .
6+
# Deploy pod
7+
kubectl apply -f cosign-pod.yaml
8+
kubectl get policyreport
9+
kubectl get policyreport cpol-check-image -o yaml
1010

11-
# Succeed to deploy rekor
12-
helm upgrade --install rekor sigstore/rekor
11+
# Test policy
12+
kyverno test --file-name cosign-test.yaml .

120_kubernetes/kyverno/slides.md

+2
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ Keyless image signatures using sigstore [](https://kyverno.io/docs/writing-polic
4040
## Demo
4141

4242
kyverno for the Pod Security Standards [](https://kyverno.io/docs/writing-policies/validate/#pod-security)
43+
44+
kyverno for testing keyless image signatures

0 commit comments

Comments
 (0)