1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/exceptions/exclude-restricted-seccomp/pod-rejected-1.yaml
Mariam Fahmy ace5b59003
feat: add chainsaw tests for pod security in exceptions (#9667)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-02-06 13:07:58 +00:00

20 lines
344 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: bad-pod-1
namespace: staging-ns
spec:
containers:
- name: busybox
image: busybox
args:
- sleep
- 1d
securityContext:
seccompProfile:
type: Unconfined
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL