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:
Jaime Pérez Halcón 2024-06-25 15:04:32 +02:00 committed by GitHub
parent 7b30c3bcfa
commit ee508fe7fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.7.0
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.36.1
version: 2.36.2
home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords:
@ -19,4 +19,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Add annotations for notifications secret
description: Add subscriptions into notifications-configmap

View file

@ -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.create | bool | `false` | Whether to create 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.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
| providerRBAC.additionalRules | list | `[]` | Additional RBAC rules for others providers |

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

@ -479,3 +479,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