feat(argo-cd): conditionally create the rbac configmap (#569)
Signed-off-by: John Kost <jkost@bandwidth.com>
This commit is contained in:
parent
ba467c8a4b
commit
ec68ef2080
3 changed files with 8 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: 1.7.11
|
appVersion: 1.7.11
|
||||||
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.12.0
|
version: 2.13.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.rbacConfigCreate }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -18,4 +19,5 @@ metadata:
|
||||||
{{- if .Values.server.rbacConfig }}
|
{{- if .Values.server.rbacConfig }}
|
||||||
data:
|
data:
|
||||||
{{- toYaml .Values.server.rbacConfig | nindent 4 }}
|
{{- toYaml .Values.server.rbacConfig | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -595,6 +595,10 @@ server:
|
||||||
## Annotations to be added to ArgoCD rbac ConfigMap
|
## Annotations to be added to ArgoCD rbac ConfigMap
|
||||||
rbacConfigAnnotations: {}
|
rbacConfigAnnotations: {}
|
||||||
|
|
||||||
|
# Boolean determining whether or not to create the configmap. If false, it is expected tthe configmap will be created
|
||||||
|
# by something else. ArgoCD will not work if there is no configMap created with the name above.
|
||||||
|
rbacConfigCreate: true
|
||||||
|
|
||||||
## Not well tested and not well supported on release v1.0.0.
|
## Not well tested and not well supported on release v1.0.0.
|
||||||
## Applications
|
## Applications
|
||||||
## reference: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/
|
## reference: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/
|
||||||
|
|
Loading…
Reference in a new issue