Merge "OVS: update container privs"

This commit is contained in:
Zuul 2018-08-01 16:19:35 +00:00 committed by Gerrit Code Review
commit 36942c58be
2 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,6 @@ spec:
{{ tuple $envAll $envAll.Values.pod.resources.ovs.db | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
securityContext:
runAsUser: 0
privileged: true
command:
- /tmp/openvswitch-db-server.sh
- start

View File

@ -68,7 +68,9 @@ spec:
{{ tuple $envAll $envAll.Values.pod.resources.ovs.vswitchd | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
securityContext:
runAsUser: 0
privileged: true
capabilities:
add:
- NET_ADMIN
# ensures this container can speak to the ovs database
# successfully before its marked as ready
readinessProbe: