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:
parent
cf399e6dda
commit
ff388f8f94
3 changed files with 5 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.server.configEnabled }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -16,4 +17,5 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
data:
|
data:
|
||||||
{{- toYaml .Values.server.config | nindent 4 }}
|
{{- toYaml .Values.server.config | nindent 4 }}
|
||||||
|
{{- end }}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue