readOnlyFilesystem: true for memcached chart

Fix for adding readOnlyFilesystem flag at pod
level

Change-Id: I57b77eca9c1091bd080279e1fa808c8b0c67c5c7
This commit is contained in:
Rahul Khiyani 2019-02-26 06:36:47 -05:00 committed by Pete Birley
parent 6ea80fa151
commit 475647036a
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ spec:
labels:
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
securityContext:
readOnlyRootFilesystem: true
shareProcessNamespace: true
serviceAccountName: {{ $rcControllerName | quote }}
affinity: