mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
20 lines
358 B
YAML
20 lines
358 B
YAML
|
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
|