add security context or redis too

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen 2019-12-11 12:29:44 +01:00
parent 14c8258309
commit d283eb76ef
No known key found for this signature in database
GPG key ID: F54982D216088EE1

View file

@ -25,6 +25,7 @@ spec:
app.kubernetes.io/component: {{ .Values.redis.name }}
spec:
automountServiceAccountToken: false
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
containers:
- name: {{ template "argo-cd.redis.fullname" . }}
args: