13 lines
251 B
YAML
13 lines
251 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: security-context-demo-4
|
|
spec:
|
|
containers:
|
|
- name: sec-ctx-demo-4
|
|
image: busybox
|
|
command: [ "sh", "-c", "sleep 1h" ]
|
|
securityContext:
|
|
capabilities:
|
|
add: ["NET_ADMIN", "SYS_TIME"]
|