Skip to content

v1beta2 contract: flip CRD label to cluster.x-k8s.io/v1beta2 #6112

Description

@damdo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiIssues or PRs related to the APIsneeds-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions