fix(argo-rollouts): Add subscriptions into notifcations-configmap
Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>
This commit is contained in:
parent
b0d4648471
commit
d4d8fc41c6
3 changed files with 13 additions and 1 deletions
|
@ -19,4 +19,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Bump argo-rollouts to v1.7.0
|
description: Add subscriptions into notifications-configmap
|
||||||
|
|
|
@ -16,3 +16,7 @@ data:
|
||||||
{{- with .Values.notifications.triggers }}
|
{{- with .Values.notifications.triggers }}
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.notifications.subscriptions }}
|
||||||
|
subscriptions:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -477,3 +477,11 @@ notifications:
|
||||||
# trigger.on-purple: |
|
# trigger.on-purple: |
|
||||||
# - send: [my-purple-template]
|
# - send: [my-purple-template]
|
||||||
# when: rollout.spec.template.spec.containers[0].image == 'argoproj/rollouts-demo:purple'
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue