diff --git a/examples/kubernetes/deployments-should-fail.yaml b/examples/kubernetes/deployments-should-fail.yaml index 195231d..8870589 100644 --- a/examples/kubernetes/deployments-should-fail.yaml +++ b/examples/kubernetes/deployments-should-fail.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: nginx - image: nginx:1.14.2 + image: bitnami/nginx:1.21.4 ports: - containerPort: 80 volumeMounts: diff --git a/examples/kubernetes/deployments-should-succeed.yaml b/examples/kubernetes/deployments-should-succeed.yaml index 0ef0b18..c2499d6 100644 --- a/examples/kubernetes/deployments-should-succeed.yaml +++ b/examples/kubernetes/deployments-should-succeed.yaml @@ -18,33 +18,32 @@ spec: spec: containers: - name: nginx - image: nginx:1.14.2 + image: bitnami/nginx:1.21.4 ports: - containerPort: 80 --- apiVersion: apps/v1 kind: Deployment metadata: - name: app-restricted-success + name: nginx-restricted-success namespace: restricted spec: selector: matchLabels: - app: app-restricted-success + app: nginx-restricted-success replicas: 1 template: metadata: labels: - app: app-restricted-success + app: nginx-restricted-success spec: securityContext: runAsUser: 101 seccompProfile: type: "RuntimeDefault" containers: - - name: app-restricted - image: busybox - command: [ "sh", "-c", "sleep 3600" ] + - name: nginx + image: bitnami/nginx:1.21.4 ports: - containerPort: 80 securityContext: @@ -70,7 +69,7 @@ spec: spec: containers: - name: nginx - image: nginx:1.14.2 + image: bitnami/nginx:1.21.4 ports: - containerPort: 80 ---