Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/v1beta1/sveltoscluster_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ type SveltosClusterStatus struct {
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready",description="Indicates whether cluster is ready to be managed by sveltos"
//+kubebuilder:printcolumn:name="Version",type="string",JSONPath=".status.version",description="Kubernetes version associated with this Cluster"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of SveltosCluster"
//+kubebuilder:printcolumn:name="Shard",type="string",JSONPath=".metadata.annotations['sharding.projectsveltos.io/key']",description="Cluster Shard"
//+kubebuilder:storageversion

// SveltosCluster is the Schema for the SveltosCluster API
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Cluster Shard
jsonPath: .metadata.annotations['sharding.projectsveltos.io/key']
name: Shard
type: string
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
4 changes: 4 additions & 0 deletions lib/crd/sveltosclusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ spec:
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Cluster Shard
jsonPath: .metadata.annotations['sharding.projectsveltos.io/key']
name: Shard
type: string
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Cluster Shard
jsonPath: .metadata.annotations['sharding.projectsveltos.io/key']
name: Shard
type: string
name: v1beta1
schema:
openAPIV3Schema:
Expand Down