helm-diff
helm-diff copied to clipboard
Detect immutable field changes
Is it possible to add the information in the change list if the change is for immutable fields of the resource type.
I was able to get the change path in dyff output format.
spec.selector.matchLabels.component (Deployment/default/memcached-memcached)
± value change
- server
+ server-new
I can see the default helm diff template in the code base.
https://github.com/databus23/helm-diff/blob/9d4d8e71dd7b1e911119a05862462a4ecf679e32/diff/constant.go#L1-L13
It would be good if we can render the change path (for instance, spec.selector.matchLabels.component) in the tpl.
@okozachenko1203 PR is welcome.