helm-diff icon indicating copy to clipboard operation
helm-diff copied to clipboard

Is it possible to get the change path via HELM_DIFF_TPL?

Open okozachenko1203 opened this issue 1 year ago • 1 comments

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

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.

okozachenko1203 avatar Jan 23 '25 14:01 okozachenko1203

@okozachenko1203 PR is welcome.

yxxhero avatar Jan 24 '25 13:01 yxxhero