From d283eb76efb0738fb9483e2ef45ced6216b8cee6 Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Wed, 11 Dec 2019 12:29:44 +0100 Subject: [PATCH] add security context or redis too Signed-off-by: David J. M. Karlsen --- charts/argo-cd/templates/redis/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/argo-cd/templates/redis/deployment.yaml b/charts/argo-cd/templates/redis/deployment.yaml index 87d6a024..5f55ab92 100644 --- a/charts/argo-cd/templates/redis/deployment.yaml +++ b/charts/argo-cd/templates/redis/deployment.yaml @@ -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: