1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/test/conformance/chainsaw/exceptions/exclude-capabilities/pod-rejected-2.yaml

20 lines
358 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: badpod02
namespace: staging-ns
spec:
containers:
- name: container01
image: busybox:1.28
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
add:
- SYS_ADMIN
drop:
- ALL