chore(argo-rollouts): add option to disable creation of notifications configmap

This allows for using the upstream notifications configmap from
https://github.com/argoproj/argo-rollouts/blob/master/manifests/notifications-install.yaml

Signed-off-by: Roland Kool <rkool@bol.com>
This commit is contained in:
Roland Kool 2024-07-26 14:18:38 +02:00
parent 511d0d0adc
commit 798883ecd2
4 changed files with 10 additions and 1 deletions

View file

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: v1.7.1
appVersion: v1.7.2
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.37.2
@ -20,3 +20,5 @@ annotations:
artifacthub.io/changes: |
- kind: added
description: Added traefik.io apiGroup to Role and ClusterRole
- kind: added
description: Added setting to disable creation of the notifications ConfigMap

View file

@ -57,6 +57,7 @@ For full list of changes please check ArtifactHub [changelog].
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
| kubeVersionOverride | string | `""` | Override the Kubernetes version, which is used to evaluate certain manifests |
| nameOverride | string | `nil` | String to partially override "argo-rollouts.fullname" template |
| notifications.configmap.create | bool | `true` | Whether to create notifications configmap |
| notifications.notifiers | object | `{}` | Configures notification services |
| notifications.secret.annotations | object | `{}` | Annotations to be added to the notifications secret |
| notifications.secret.create | bool | `false` | Whether to create notifications secret |

View file

@ -1,3 +1,4 @@
{{ if .Values.notifications.configmap.create }}
apiVersion: v1
kind: ConfigMap
metadata:
@ -20,3 +21,4 @@ data:
subscriptions: |
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View file

@ -449,6 +449,10 @@ dashboard:
volumeMounts: []
notifications:
configmap:
# -- Whether to create notifications configmap
create: true
secret:
# -- Whether to create notifications secret
create: false