Parent: #5448
In the new v1beta3 types, add Initialization structs. These replace status.ready / status.initialized for the v1beta2 contract.
InfraCluster types (AWSCluster, AWSManagedCluster, ROSACluster)
type AWSClusterInitializationStatus struct {
// provisioned is true when the infrastructure is fully provisioned.
// NOTE: this field is part of the Cluster API contract.
// +optional
Provisioned *bool `json:"provisioned,omitempty"`
}
InfraMachine types (AWSMachine)
type AWSMachineInitializationStatus struct {
// provisioned is true when the machine infrastructure is fully provisioned.
// NOTE: this field is part of the Cluster API contract.
// +optional
Provisioned *bool `json:"provisioned,omitempty"`
}
ControlPlane types (AWSManagedControlPlane, ROSAControlPlane)
type AWSManagedControlPlaneInitializationStatus struct {
// controlPlaneInitialized denotes whether the control plane is initialized.
// NOTE: this field is part of the Cluster API contract.
// +optional
ControlPlaneInitialized *bool `json:"controlPlaneInitialized,omitempty"`
}
Bootstrap types (EKSConfig)
type EKSConfigInitializationStatus struct {
// dataSecretCreated is true when the bootstrap data secret has been created.
// NOTE: this field is part of the Cluster API contract.
// +optional
DataSecretCreated *bool `json:"dataSecretCreated,omitempty"`
}
Controllers must set Initialization.Provisioned = ptr.To(true) everywhere they currently set Ready = true.
Reference: CAPI contract at internal/contract/infrastructure_cluster.go:58-68, DevCluster at test/infrastructure/docker/api/v1beta2/devcluster_types.go
Parent: #5448
In the new
v1beta3types, addInitializationstructs. These replacestatus.ready/status.initializedfor the v1beta2 contract.InfraCluster types (AWSCluster, AWSManagedCluster, ROSACluster)
InfraMachine types (AWSMachine)
ControlPlane types (AWSManagedControlPlane, ROSAControlPlane)
Bootstrap types (EKSConfig)
Controllers must set
Initialization.Provisioned = ptr.To(true)everywhere they currently setReady = true.Reference: CAPI contract at
internal/contract/infrastructure_cluster.go:58-68, DevCluster attest/infrastructure/docker/api/v1beta2/devcluster_types.go