Parent: #5448
Change config/crd/kustomization.yaml:
# Old:
commonLabels:
cluster.x-k8s.io/v1beta1: v1beta1_v1beta2
# New:
commonLabels:
cluster.x-k8s.io/v1beta2: v1beta1_v1beta2_v1beta3
This tells CAPI: "I implement the v1beta2 contract, my provider serves API versions v1beta1, v1beta2, and v1beta3."
After this, CAPI reads status.initialization.provisioned instead of status.ready, and reads conditions from top-level status.conditions (metav1) instead of falling through.
This must ship together with SUB6–SUB12. It is the switch that changes which paths CAPI reads.
Also make APIEndpoint Host and Port fields optional with omitzero per v1.12 migration guide.
Parent: #5448
Change
config/crd/kustomization.yaml:This tells CAPI: "I implement the v1beta2 contract, my provider serves API versions v1beta1, v1beta2, and v1beta3."
After this, CAPI reads
status.initialization.provisionedinstead ofstatus.ready, and reads conditions from top-levelstatus.conditions(metav1) instead of falling through.This must ship together with SUB6–SUB12. It is the switch that changes which paths CAPI reads.
Also make APIEndpoint
HostandPortfields optional withomitzeroper v1.12 migration guide.