argocd-helm/charts/argo-rollouts/templates/controller/notifcations-configmap.yaml
Jaime Pérez Halcón ee508fe7fc
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>
2024-06-25 14:04:32 +01:00

22 lines
656 B
YAML

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 }}