From 1609e818edd5b823787371ab259c198ef8ef765a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Didrik=20Finn=C3=B8y?= Date: Mon, 26 Apr 2021 10:23:44 +0200 Subject: [PATCH] =?UTF-8?q?add=20option=20for=20--insecure=20flag=20with?= =?UTF-8?q?=20argocd-server,=20Signed-off-by:=20Didrik=20Finn=C3=B8y=20djf?= =?UTF-8?q?innoy@protonmail.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Didrik Finnøy --- charts/argo-cd/templates/argocd-server/deployment.yaml | 3 +++ charts/argo-cd/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charts/argo-cd/templates/argocd-server/deployment.yaml b/charts/argo-cd/templates/argocd-server/deployment.yaml index d12c8446..09b830b9 100755 --- a/charts/argo-cd/templates/argocd-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-server/deployment.yaml @@ -43,6 +43,9 @@ spec: command: - argocd-server - --staticassets + {{- if .Values.server.insecure }} + - --insecure + {{- end }} - /shared/app - --repo-server - {{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index dc04e3eb..644933a9 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -373,6 +373,8 @@ server: tag: # defaults to global.image.tag imagePullPolicy: # IfNotPresent + insecure: false # use --insecure flag with argocd-server + ## Additional command line arguments to pass to argocd-server ## extraArgs: []