fix(argo-rollouts): Add subscriptions into notifcations-configmap

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>
This commit is contained in:
Jaime Pérez Halcón 2024-06-24 22:47:56 +02:00
parent b0d4648471
commit d4d8fc41c6
3 changed files with 13 additions and 1 deletions

View file

@ -19,4 +19,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Bump argo-rollouts to v1.7.0
description: Add subscriptions into notifications-configmap

View file

@ -16,3 +16,7 @@ data:
{{- with .Values.notifications.triggers }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.notifications.subscriptions }}
subscriptions:
{{- toYaml . | nindent 4 }}
{{- end }}

View file

@ -477,3 +477,11 @@ notifications:
# trigger.on-purple: |
# - send: [my-purple-template]
# when: rollout.spec.template.spec.containers[0].image == 'argoproj/rollouts-demo:purple'
# -- The subscriptions define the subscriptions to the triggers in a general way for all rollouts
subscriptions: {}
# subscriptions:
# recipients:
# - slack:<channel>
# triggers:
# - on-rollout-completed