hhiroshell / kubectl-realname-diff

A kubectl plugin that diffs live and local resources ignoring Kustomize hash-suffixes.
Apache License 2.0
16 stars 1 forks source link

Please ignore kubectl.kubernetes.io/last-applied-configuration annotation #49

Open Wing924 opened 7 months ago

Wing924 commented 7 months ago

The kubectl apply add kubectl.kubernetes.io/last-applied-configuration annotation on each comfigmap and secet. Please ignore it on diff.

hhiroshell commented 7 months ago

It would be a good idea to add an option that replicates the functionality of kubectl-neat-diff.

I'll try to implement it when I have some spare time.

hhiroshell commented 7 months ago

Sorry, I misunderstood. Since kubectl diff does not display the last-applied-configuration, we should align with that behavior.