1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/test/resources/resource_validate_selinux_context.yaml

21 lines
366 B
YAML
Raw Normal View History

2019-10-05 00:28:42 +00:00
apiVersion: v1
kind: Pod
metadata:
name: busybox-selinux
namespace: default
spec:
containers:
- image: busybox-selinux
name: busybox
command:
- sleep
- "36000"
volumeMounts:
- name: storage
mountPath: /storage
securityContext:
seLinuxOptions:
level: ""
volumes:
- name: storage
emptyDir: {}