2024-07-29 07:25:24 +00:00
|
|
|
{{ if .Values.notifications.configmap.create }}
|
2022-03-14 21:12:41 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: argo-rollouts-notification-configmap
|
2023-04-13 18:16:20 +00:00
|
|
|
namespace: {{ .Release.Namespace | quote }}
|
2022-03-14 21:12:41 +00:00
|
|
|
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 }}
|
2024-06-25 13:04:32 +00:00
|
|
|
{{- with .Values.notifications.subscriptions }}
|
2024-06-26 10:39:03 +00:00
|
|
|
subscriptions: |
|
2024-06-25 13:04:32 +00:00
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2024-07-29 07:25:24 +00:00
|
|
|
{{- end }}
|