
* 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> * chore: update changelog Signed-off-by: Roland Kool <rkool@bol.com> * chore: fix chart version bump Signed-off-by: Roland Kool <rkool@bol.com> --------- Signed-off-by: Roland Kool <rkool@bol.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
24 lines
717 B
YAML
24 lines
717 B
YAML
{{ if .Values.notifications.configmap.create }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argo-rollouts-notification-configmap
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels:
|
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
|
data:
|
|
{{- with .Values.notifications.notifiers }}
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- with .Values.notifications.templates }}
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- with .Values.notifications.triggers }}
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- with .Values.notifications.subscriptions }}
|
|
subscriptions: |
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|