readOnlyRootFilesystem: true for openvswitch chart

Fix for adding readOnlyRootFilesystem flag at pod
level

Change-Id: If0943518bdec0d950c50c90aa89929d1a42aa0a0
This commit is contained in:
Rahul Khiyani 2019-02-26 06:53:31 -05:00 committed by Chris Wedgwood
parent 8fb2c7f07c
commit 598040bea0
2 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ spec:
annotations:
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
spec:
securityContext:
readOnlyRootFilesystem: true
shareProcessNamespace: true
serviceAccountName: {{ $serviceAccountName }}
nodeSelector:

View File

@ -40,6 +40,8 @@ spec:
annotations:
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
spec:
securityContext:
readOnlyRootFilesystem: true
shareProcessNamespace: true
serviceAccountName: {{ $serviceAccountName }}
nodeSelector: