feat(argocd-notifications): Optional ConfigMap for argocd-notifications (#656)

* feat(argocd-notifications): Optional ConfigMap for argocd-notifications

Signed-off-by: Cicatrice <cicatrice@cicatrice.eu>

* feat(argocd-notifications): version bump

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: Cicatrice <cicatrice@cicatrice.eu>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Geoffrey Gouez 2021-04-26 23:38:11 +02:00 committed by GitHub
parent 4e0bf1e19d
commit d40a9be810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -3,7 +3,7 @@ appVersion: 1.1.1
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD. description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications name: argocd-notifications
type: application type: application
version: 1.1.3 version: 1.2.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.cm.create }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@ -19,4 +20,5 @@ data:
{{- end }} {{- end }}
{{- with .Values.triggers }} {{- with .Values.triggers }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
{{- end }}

View file

@ -88,6 +88,10 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: argocd-notifications-controller name: argocd-notifications-controller
cm:
# Whether helm chart creates controller config map
create: true
subscriptions: subscriptions:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/subscriptions/ # For more information: https://argocd-notifications.readthedocs.io/en/stable/subscriptions/