readOnlyFilesystem: true for horizon chart

Fix for adding readOnlyFilesystem flag at pod level

Change-Id: I9ec373816987a4c91cb4aeab5ab0b2433215f136
This commit is contained in:
pd2839 2019-03-05 13:55:25 -06:00 committed by PRATEEK REDDY DODDA
parent 01cb93c471
commit 2fefd6c56a
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ spec:
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
spec:
securityContext:
readOnlyRootFilesystem: true
serviceAccountName: {{ $serviceAccountName }}
{{ dict "envAll" $envAll "application" "horizon" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
affinity: