Merge "Implement Security Context for Memcached"

This commit is contained in:
Zuul 2019-03-06 16:39:51 +00:00 committed by Gerrit Code Review
commit dc6f37b0af
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -147,6 +147,11 @@ pod:
user:
memcached_exporter:
uid: 65534
server:
uid: 65534
securityContext:
server:
readOnlyRootFilesystem: true
affinity:
anti:
topologyKey: