Parent: #5448
In the new v1beta3 types, several fields change type to match the v1beta2 contract:
AWSMachine.Spec.ProviderID: *string → string
// +optional
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=512
ProviderID string `json:"providerID,omitempty"`
EKSConfig.Status.DataSecretName: *string → string
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.
Parent: #5448
In the new
v1beta3types, several fields change type to match the v1beta2 contract:AWSMachine.Spec.ProviderID:*string→stringEKSConfig.Status.DataSecretName:*string→stringMachinePool
Replicas:int32→*int32CAPI reads
status.replicasfrom the infra MachinePool via unstructured access.Affects v1beta3 versions of:
AWSMachinePoolStatus,AWSManagedMachinePoolStatus,RosaMachinePoolStatus.Note:
readyReplicas,availableReplicas,upToDateReplicasare 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.