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