fix(argo-rollouts): Add subscriptions into notifcations-configmap (#2793)
* fix(argo-rollouts): Add subscriptions into notifcations-configmap Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com> * fix(argo-rollouts): Set version Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com> * fix(argo-rollouts): Updated readme Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com> * fix(values.yaml): fixed trailing spaces Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com> --------- Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
7b30c3bcfa
commit
ee508fe7fc
4 changed files with 15 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.7.0
|
appVersion: v1.7.0
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.36.1
|
version: 2.36.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -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: Add annotations for notifications secret
|
description: Add subscriptions into notifications-configmap
|
||||||
|
|
|
@ -61,6 +61,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| notifications.secret.annotations | object | `{}` | Annotations to be added to the notifications secret |
|
| notifications.secret.annotations | object | `{}` | Annotations to be added to the notifications secret |
|
||||||
| notifications.secret.create | bool | `false` | Whether to create notifications secret |
|
| notifications.secret.create | bool | `false` | Whether to create notifications secret |
|
||||||
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the notifications secret |
|
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the notifications secret |
|
||||||
|
| notifications.subscriptions | object | `{}` | The subscriptions define the subscriptions to the triggers in a general way for all rollouts |
|
||||||
| notifications.templates | object | `{}` | Notification templates |
|
| notifications.templates | object | `{}` | Notification templates |
|
||||||
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
||||||
| providerRBAC.additionalRules | list | `[]` | Additional RBAC rules for others providers |
|
| providerRBAC.additionalRules | list | `[]` | Additional RBAC rules for others providers |
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -479,3 +479,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