Skip to content

Commit

Permalink
add markers for readyz and k8sversion in ManagedCluster
Browse files Browse the repository at this point in the history
  • Loading branch information
dixudx committed May 27, 2021
1 parent 0b7fbf0 commit a4ccf12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clusters/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ type ManagedClusterStatus struct {
// +kubebuilder:resource:scope="Namespaced",shortName=mcls,categories=clusternet
// +kubebuilder:printcolumn:name="Cluster-ID",type=string,JSONPath=`.spec.clusterId`,description="The unique id for the cluster"
// +kubebuilder:printcolumn:name="Cluster-Type",type=string,JSONPath=`.spec.clusterType`,description="The type of the cluster"
// +kubebuilder:printcolumn:name="Kubernetes",type=string,JSONPath=".status.k8sVersion"
// +kubebuilder:printcolumn:name="Readyz",type=string,JSONPath=".status.readyz"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// ManagedCluster is the Schema for the managedclusters API
Expand Down

0 comments on commit a4ccf12

Please sign in to comment.