From 36ae990538eb6d4000b0c06cbdb987b67ff835ec Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 12 May 2024 18:08:05 +0300 Subject: [PATCH] move `subscriptions` into the `with` clause --- .../templates/argocd-configs/argocd-notifications-cm.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argo-cd/templates/argocd-configs/argocd-notifications-cm.yaml b/charts/argo-cd/templates/argocd-configs/argocd-notifications-cm.yaml index 4af36e6b..ddcce62b 100644 --- a/charts/argo-cd/templates/argocd-configs/argocd-notifications-cm.yaml +++ b/charts/argo-cd/templates/argocd-configs/argocd-notifications-cm.yaml @@ -21,10 +21,10 @@ data: {{- with $notifiers }} {{- toYaml . | nindent 2 }} {{- end }} + {{- with $subscriptions }} subscriptions: | - {{- with $subscriptions }} - {{- toYaml . | nindent 4 }} - {{- end }} + {{- toYaml . | nindent 4 }} + {{- end }} {{- with (merge .Values.notifications.templates .Values.codefresh.promotions.notifications.templates) }} {{- toYaml . | nindent 2 }} {{- end }}