feat(argo-cd): adds configEnabled flag to allow parent chart to own CM

Signed-off-by: Matt Gowie <matt@masterpoint.io>
This commit is contained in:
Matt Gowie 2021-02-22 17:06:36 -07:00
parent 9e6d1134e8
commit 4988c8b17e
3 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.8.4
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 2.14.7
version: 2.15.0
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

View file

@ -1,3 +1,4 @@
{{- if .Values.server.configEnabled }}
apiVersion: v1
kind: ConfigMap
metadata:
@ -16,4 +17,5 @@ metadata:
{{- end }}
{{- end }}
data:
{{- toYaml .Values.server.config | nindent 4 }}
{{- toYaml .Values.server.config | nindent 4 }}
{{- end }}

View file

@ -543,6 +543,7 @@ server:
## ArgoCD config
## reference https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml
configEnabled: true
config:
# Argo CD's externally facing base URL (optional). Required when configuring SSO
url: https://argocd.example.com