From d6664023257a0e97f9c23e9ae8b63f565fc32696 Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Thu, 12 Dec 2019 09:48:55 +0100 Subject: [PATCH] fix key Signed-off-by: David J. M. Karlsen --- .../templates/argocd-application-controller/deployment.yaml | 2 +- charts/argo-cd/templates/argocd-repo-server/deployment.yaml | 2 +- charts/argo-cd/templates/argocd-server/deployment.yaml | 2 +- charts/argo-cd/templates/redis/deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml index 7e8bf6b6..d1f70b13 100644 --- a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml @@ -35,7 +35,7 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: - {{- if .Values.securityContext.enabled }} + {{- if .Values.global.securityContext.enabled }} securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} {{- end }} containers: diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index d5abe9a3..971855aa 100644 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -35,7 +35,7 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: - {{- if .Values.securityContext.enabled }} + {{- if .Values.global.securityContext.enabled }} securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} {{- end }} containers: diff --git a/charts/argo-cd/templates/argocd-server/deployment.yaml b/charts/argo-cd/templates/argocd-server/deployment.yaml index ecdeb556..2cb8ce65 100644 --- a/charts/argo-cd/templates/argocd-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-server/deployment.yaml @@ -35,7 +35,7 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: - {{- if .Values.securityContext.enabled }} + {{- if .Values.global.securityContext.enabled }} securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} {{- end }} containers: diff --git a/charts/argo-cd/templates/redis/deployment.yaml b/charts/argo-cd/templates/redis/deployment.yaml index 819fb27c..7b9e9ffb 100644 --- a/charts/argo-cd/templates/redis/deployment.yaml +++ b/charts/argo-cd/templates/redis/deployment.yaml @@ -25,7 +25,7 @@ spec: app.kubernetes.io/component: {{ .Values.redis.name }} spec: automountServiceAccountToken: false - {{- if .Values.securityContext.enabled }} + {{- if .Values.global.securityContext.enabled }} securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} {{- end }} containers: