helm-diff
helm-diff copied to clipboard
HELM_DIFF_TPL Example
I don't see an example HELM_DIFF_TPL, even though the tests reference "testdata/customTemplate.tpl". Would you be able to provide a starting point?
[
{{- $global := . -}}
{{- range $idx, $entry := . -}}
{
"api": "{{ $entry.API }}",
"kind": "{{ $entry.Kind }}",
"namespace": "{{ $entry.Namespace }}",
"name": "{{ $entry.Name }}",
"change": "{{ $entry.Change }}"
}{{ if not (last $idx $global) }},{{ end }}
{{- end }}
]
See https://github.com/databus23/helm-diff/blob/master/diff/constant.go
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.