Anil:
I get capabilities validation error. Not able to figure out what the issue. tried at both pod and container level. gives validation exception
RB:
Indentation is wrong under securityContext:
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo-4
spec:
containers:
- name: sec-ctx-4
image: <http://gcr.io/google-samples/node-hello:1.0|gcr.io/google-samples/node-hello:1.0>
securityContext:
capabilities:
add: ["NET_ADMIN", "SYS_TIME"]