Skip to content

v1beta2 contract: align ProviderID, DataSecretName, and Replicas field types #6110

Description

@damdo

Parent: #5448

In the new v1beta3 types, several fields change type to match the v1beta2 contract:

AWSMachine.Spec.ProviderID: *stringstring

// +optional
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=512
ProviderID string `json:"providerID,omitempty"`

EKSConfig.Status.DataSecretName: *stringstring

DataSecretName string `json:"dataSecretName,omitempty"`

MachinePool Replicas: int32*int32

CAPI reads status.replicas from the infra MachinePool via unstructured access.

Replicas *int32 `json:"replicas,omitempty"`

Affects v1beta3 versions of: AWSMachinePoolStatus, AWSManagedMachinePoolStatus, RosaMachinePoolStatus.

Note: readyReplicas, availableReplicas, upToDateReplicas are NOT read from the infra provider by CAPI — they are computed by CAPI core. No need to add them to CAPA types.

The v1beta2 spoke types keep the old field types. Conversion webhooks handle the translation.

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