diff --git a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml index 959038e9..f7005db2 100755 --- a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml @@ -57,7 +57,7 @@ spec: - {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }} {{- end }} {{- with .Values.controller.extraArgs }} - {{ . | toYaml | nindent 8 }} + {{- . | toYaml | nindent 8 }} {{- end }} image: {{ default .Values.global.image.repository .Values.controller.image.repository }}:{{ default .Values.global.image.tag .Values.controller.image.tag }} imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }} diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index e8bb6322..5ebea743 100755 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -54,8 +54,8 @@ spec: {{- end }} - --loglevel - {{ .Values.repoServer.logLevel }} - {{- with .Values.controller.extraArgs }} - {{ . | toYaml | nindent 8 }} + {{- with .Values.repoServer.extraArgs }} + {{- . | toYaml | nindent 8 }} {{- end }} {{- if .Values.repoServer.containerSecurityContext }} securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }} diff --git a/charts/argo-cd/templates/argocd-server/deployment.yaml b/charts/argo-cd/templates/argocd-server/deployment.yaml index e9b7b4f9..154a4dc1 100755 --- a/charts/argo-cd/templates/argocd-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-server/deployment.yaml @@ -62,8 +62,8 @@ spec: - --redis - {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }} {{- end }} - {{- with .Values.controller.extraArgs }} - {{ . | toYaml | nindent 8 }} + {{- with .Values.server.extraArgs }} + {{- . | toYaml | nindent 8 }} {{- end }} {{- if .Values.server.containerSecurityContext }} securityContext: {{- toYaml .Values.server.containerSecurityContext | nindent 10 }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index bfa79923..b615b4f9 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -284,9 +284,13 @@ server: imagePullPolicy: # IfNotPresent ## Additional command line arguments to pass to argocd-server - ## --argument=value + ## - --argument=value + ## or + ## - --argument + ## - value extraArgs: [] - # - --insecure=true + # - --insecure + # - "true" ## Environment variables to pass to argocd-server ##