Skip to content

Commit 7bb9e4a

Browse files
committed
add capi_cluster_status_phase
1 parent c653f3d commit 7bb9e4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/v1beta1/cluster_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ type ClusterStatus struct {
407407
// Phase represents the current phase of cluster actuation.
408408
// E.g. Pending, Running, Terminating, Failed etc.
409409
// +optional
410+
// +Metrics:stateset:name="status_phase",help="The clusters current phase.",labelName="phase",list={"Pending","Provisioning","Provisioned","Deleting","Failed","Unknown"}
410411
Phase string `json:"phase,omitempty"`
411412

412413
// InfrastructureReady is the state of the infrastructure provider.

0 commit comments

Comments
 (0)