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. description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications name: argocd-notifications
type: application type: application
version: 1.4.1 version: 1.5.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:
@ -16,3 +16,4 @@ maintainers:
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Initialize Changelog" - "[Added]: Initialize Changelog"
- "[Added]: Support of 'defaultTriggers'"

View file

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

View file

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