OVS: update container privs
This PS updates the privs granted to the OvS containers. Change-Id: Ie50ae5692dbf67c19f55521a5cb46308480f737a Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
c88ed011db
commit
108d9606d7
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user