1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/resources/disallow_new_capabilities.yaml

16 lines
270 B
YAML
Raw Normal View History

2019-11-01 11:40:23 -07:00
apiVersion: v1
kind: Pod
metadata:
2019-11-01 11:56:17 -07:00
name: add-new-capabilities
2019-11-01 11:40:23 -07:00
spec:
containers:
- name: add-new-capabilities
image: "ubuntu:18.04"
command:
- /bin/sleep
- "300"
securityContext:
capabilities:
add:
- NET_ADMIN