-
Notifications
You must be signed in to change notification settings - Fork 316
Open
Labels
Description
I can see the default helm diff template in the code base.
Lines 1 to 13 in 9d4d8e7
| package diff | |
| const defaultTemplateReport = `[ | |
| {{- $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 }}]` |
Is it possible to render the change path (for instance, spec.selector.matchLabels.component) in the tpl?
The final goal is to detect the immutable field changes using this helm diff plugin.
Reactions are currently unavailable