Skip to content

Commit

Permalink
feat(argocd-notifications): Optional ConfigMap for argocd-notificatio…
Browse files Browse the repository at this point in the history
…ns (#656)

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

Signed-off-by: Cicatrice <[email protected]>

* feat(argocd-notifications): version bump

Co-authored-by: Oliver Bähler <[email protected]>
Signed-off-by: Cicatrice <[email protected]>

Co-authored-by: Oliver Bähler <[email protected]>
  • Loading branch information
Cicatrice and oliverbaehler authored Apr 26, 2021
1 parent 4e0bf1e commit d40a9be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/argocd-notifications/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.1.1
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications
type: application
version: 1.1.3
version: 1.2.0
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:
Expand Down
4 changes: 3 additions & 1 deletion charts/argocd-notifications/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.cm.create }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -19,4 +20,5 @@ data:
{{- end }}
{{- with .Values.triggers }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/argocd-notifications/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: argocd-notifications-controller

cm:
# Whether helm chart creates controller config map
create: true

subscriptions:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/subscriptions/

Expand Down

0 comments on commit d40a9be

Please sign in to comment.