chore(argo-rollouts): add option to disable creation of notifications configmap (#2849)
* 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>
This commit is contained in:
parent
89bc396b55
commit
87e6dd9b63
4 changed files with 9 additions and 2 deletions
|
|
@ -0,0 +1,24 @@
|
|||
{{ 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue