You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know if we need an upgrade story when we switch? i.e. what will happen with existing objects?
CRD v1beta1 will be removed v1.22+, so we need to support v1 before that.
For upgrades, applying the rewritten v1 manifests does not affect an existing object. (at this time preseveUnknownFields is true.) This is because of k8s support API conversion. Of course, it's better to keep the v1beta1 manifest for backwards compatibility.
However, preseveUnknownFields became false by default at GA, so we need to set true or define an openAPIV3Scheme. Considering the future, the latter is recommended. In that case, if someone misses specifying the field, the value will be prune. I think it's better to generate openAPIV3Schema from types.go using controller-tools.
CRD apiextensions.k8s.io/v1beta1 has already been deprecated in v1.16. And now that 3 versions have passed, I'd like to migrate it to v1.
The text was updated successfully, but these errors were encountered: