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
Describe the bug
Configurator current CRD creation is not supported k8s v1.22. The API version apiextensions.k8s.io/v1beta1 of CRDS is removed need to support apiextensions.k8s.io/v1.
Additional context
Add any other context about the problem here.
In k8s v1.22 structural schema is mandatory. So we cannot directly define a CRD schema for customConfigMap as data: object. We need to specify its type. Since we don't have a control over the exact type of the object, we must include x-kubernetes-preserve-unknown-fields: true looks like:
Migrate CRDs to `apiextensions.k8s.io/v1`. This keeps the same api version for the current definition (v1alpha1), while making them compatible with Kubernetes 1.22+.
Migrate CRDs to `apiextensions.k8s.io/v1`. This keeps the same api version for the current definition (v1alpha1), while making them compatible with Kubernetes 1.22+.
`apiextensions.k8s.io/v1` was introduced in 1.16, so this should also keep everything backwards compatible with previous installations of Configurator.
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122
Describe the bug
Configurator current CRD creation is not supported k8s v1.22. The API version apiextensions.k8s.io/v1beta1 of CRDS is removed need to support apiextensions.k8s.io/v1.
Additional context
Add any other context about the problem here.
In k8s v1.22 structural schema is mandatory. So we cannot directly define a CRD schema for customConfigMap as data: object. We need to specify its type. Since we don't have a control over the exact type of the object, we must include x-kubernetes-preserve-unknown-fields: true looks like:
reference: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema
The text was updated successfully, but these errors were encountered: