Update k8s_mngmnt_network.yml
@@ -27,10 +27,13 @@ spec:
- name: mngmnt-network-container
image: 'localhost/mngmnt_network_container:latest'
imagePullPolicy: Never
- command:
- - /sbin/init
+ command: ["sh", "-c", "tail -f /dev/null"]
volumeMounts:
- name: omnia-storage
mountPath: /root/omnia
securityContext:
- privileged: true
+ allowPrivilegeEscalation: true
+ capabilities:
+ add:
+ - NET_RAW
+ privileged: false
