mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 07:26:55 +00:00
12 lines
236 B
YAML
12 lines
236 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: check-root-user
|
|
spec:
|
|
# securityContext:
|
|
# runAsNonRoot: true
|
|
containers:
|
|
- name: check-root-user
|
|
image: nginxinc/nginx-unprivileged
|
|
securityContext:
|
|
runAsNonRoot: true
|