1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00
kyverno/test/resources/disallow_privileged.yaml
2019-11-08 20:04:42 -08:00

11 lines
235 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: check-privileged-cfg
spec:
containers:
- name: check-privileged-cfg
image: nginxinc/nginx-unprivileged
securityContext:
allowPrivilegeEscalation: true
privileged: true