#871 rework using existing field

Signed-off-by: shortsn <shortsn@users.noreply.github.com>
This commit is contained in:
shortsn 2021-08-17 09:58:36 +02:00
parent 70b01cd657
commit 1643caa31d
3 changed files with 5 additions and 9 deletions

View file

@ -15,4 +15,4 @@ maintainers:
- name: andyfeller
annotations:
artifacthub.io/changes: |
- "[Added]: Support of 'defaultTriggers'"
- "[Added]: Example for 'defaultTriggers'"

View file

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

View file

@ -312,10 +312,6 @@ 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/
@ -350,6 +346,10 @@ triggers:
# send:
# - app-sync-succeeded
# when: app.status.operationState.phase in ['Succeeded']
#
# For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/#default-triggers
# defaultTriggers: |
# - on-sync-status-unknown
bots:
# For more information: https://argocd-notifications.readthedocs.io/en/stable/bots/overview/