Migrate CRD
mjudeikis opened this issue · 1 comments
mjudeikis commented
We use old API in our CRD. Need to update it
apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition`
mjudeikis commented
This is being logged into RP logs when RP executed Operator deploy step and this resource is being deplyed.
https://github.com/Azure/ARO-RP/blob/master/pkg/operator/deploy/staticresources/aro.openshift.io_clusters.yaml#L3
We need to:
- Update this to stable api
- Make sure that when applied to old clusters PutOrPatch step updates existing CRD to new version (We already do Update call just need to make sure we can update the API version of existing object)