Remove cluster's createing status from inventory.go
@@ -35,7 +35,6 @@ const kubeconfigPrefix = "generate-kubeconfig"
const defaultJobNamespace = "default"
const (
- ClusterStatusCreating = "creating"
ClusterStatusReady = "ready"
ClusterStatusError = "error"
ClusterStatusInstalling = "installing"
@@ -238,6 +237,7 @@ func (b *bareMetalInventory) RegisterCluster(ctx context.Context, params invento
PullSecret: params.NewClusterParams.PullSecret,
ServiceNetworkCIDR: params.NewClusterParams.ServiceNetworkCIDR,
SSHPublicKey: params.NewClusterParams.SSHPublicKey,
+ // TODO: should start as insufficient
Status: swag.String(ClusterStatusReady),
UpdatedAt: strfmt.DateTime{},
}
