move subscriptions into the with clause

This commit is contained in:
Noam Gal 2024-05-12 18:08:05 +03:00
parent 6e65e03eca
commit 36ae990538
No known key found for this signature in database

View file

@ -21,8 +21,8 @@ data:
{{- with $notifiers }} {{- with $notifiers }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
subscriptions: |
{{- with $subscriptions }} {{- with $subscriptions }}
subscriptions: |
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- with (merge .Values.notifications.templates .Values.codefresh.promotions.notifications.templates) }} {{- with (merge .Values.notifications.templates .Values.codefresh.promotions.notifications.templates) }}