I have a simple CRD which uses apiextensions.k8s.io/v1
in which preserveUnknownFields
defaults to false
. I noticed that this field preserveUnknownFields
is not returned from the api server e.g. when kubectl get
or kubectl describe
are used (the output skips this field). I am wondering why that happens. Is it because the field is always false
? This causes a problem with ArgoCD
when my desired manifest includes preserveUnknownFields
whereas the field is missing in the live manifest.
Kubernetes Version: v1.19.2