Kubectl diff with immutable field - way to show diff?


I’m looking for the kubectl-diff feature to implement continuous delivery to different environments.
At the first looking, this feature is very cool to see what will change in k8s cluster but i have a problem with immutable field like label for example.

for the moment, i’ve this error:

> kubectl diff -k core/overlays/local/basement
The Deployment "httpnas" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/managed-by":"kustomize", "app.kubernetes.io/project":"httpnas", "app.kubernetes.io/release":"stable", "app.kubernetes.io/role":"web"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

To reproduce this error i ve juste to change value of one label of deployment resource and call the kubectl diff command

Do you know a way to force to show diff if the change update immutable field?

Cluster information:

Kubernetes version: 1.19.13
Cloud being used: bare-metal
Installation method: rke
Host OS: Debian 11
CNI and version: Calico v3.20.0
CRI and version: Docker v20.10.8