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

Signed-off-by: Matt Gowie <matt@masterpoint.io>
This commit is contained in:
Matt Gowie 2021-03-08 12:30:24 -07:00 committed by GitHub
parent cf399e6dda
commit ff388f8f94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

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

View file

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

View file

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