1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00
kyverno/test/resources/resource_validate_nonRootUser.yaml

11 lines
200 B
YAML
Raw Normal View History

2019-08-21 12:38:15 -07:00
apiVersion: v1
kind: Pod
2019-07-17 13:31:00 -07:00
metadata:
2019-08-21 12:38:15 -07:00
name: sec-ctx-unprivileged
2019-07-17 13:31:00 -07:00
spec:
2019-08-21 12:38:15 -07:00
# securityContext:
# runAsNonRoot: true
containers:
- name: imagen-with-hostpath
image: nginxinc/nginx-unprivileged