1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00
kyverno/test/resources/deny_runasrootuser.yaml
shivkumar dudhani 4e5f551fa7 clean up
2019-10-14 14:10:34 -07:00

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