mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
13 lines
236 B
YAML
13 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
|