extending chart by optional defaultTriggers

Signed-off-by: shortsn <shortsn@users.noreply.github.com>
This commit is contained in:
shortsn 2021-08-16 19:42:00 +02:00
parent d0efbc458a
commit a104e08612
3 changed files with 12 additions and 1 deletions

View file

@ -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.4.1
version: 1.5.0
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:
@ -16,3 +16,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- "[Added]: Initialize Changelog"
- "[Added]: Support of 'defaultTriggers'"

View file

@ -21,6 +21,12 @@ data:
{{- with .Values.templates }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.defaultTriggers }}
defaultTriggers: |
{{- range . }}
- {{ . }}
{{- end }}
{{- end }}
{{- with .Values.triggers }}
{{- toYaml . | nindent 2 }}
{{- end }}

View file

@ -312,6 +312,10 @@ templates:
tolerations: []
# For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/#default-triggers
# defaultTriggers:
# - on-sync-status-unknown
triggers:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/