change null handling

This commit is contained in:
2024-06-22 18:15:41 -05:00
parent d837b32cf0
commit f845a2767b

View File

@@ -36,8 +36,10 @@ spec:
path: '{{ `{{path}}` }}' path: '{{ `{{path}}` }}'
helm: helm:
releaseName: "{{ `{{path.basename}}` }}" releaseName: "{{ `{{path.basename}}` }}"
{{- if $stack.ignoreDifferences }}
ignoreDifferences: ignoreDifferences:
{{- toYaml $stack.ignoreDifferences | nindent 8 }} {{- toYaml $stack.ignoreDifferences | nindent 8 }}
{{ end }}
syncPolicy: syncPolicy:
automated: automated:
prune: {{ $stack.syncPolicy.automated.prune | default false }} prune: {{ $stack.syncPolicy.automated.prune | default false }}