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
5 changes: 5 additions & 0 deletions api/v1/clusterobjectset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,11 @@ type ObjectCounts struct {
// +kubebuilder:resource:scope=Cluster
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=='Ready')].status`
// +kubebuilder:printcolumn:name="Reason",type=string,JSONPath=`.status.conditions[?(@.type=='Ready')].reason`
// +kubebuilder:printcolumn:name="#Total",type=integer,JSONPath=`.status.objectCounts.total`
// +kubebuilder:printcolumn:name="#Present",type=integer,JSONPath=`.status.objectCounts.present`
// +kubebuilder:printcolumn:name="#Synced",type=integer,JSONPath=`.status.objectCounts.synced`
// +kubebuilder:printcolumn:name="#Ready",type=integer,JSONPath=`.status.objectCounts.ready`
Comment thread
perdasilva marked this conversation as resolved.
// +kubebuilder:printcolumn:name=Age,type=date,JSONPath=`.metadata.creationTimestamp`

// ClusterObjectSet represents an immutable snapshot of Kubernetes objects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ spec:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
- jsonPath: .status.objectCounts.total
name: '#Total'
type: integer
- jsonPath: .status.objectCounts.present
name: '#Present'
type: integer
- jsonPath: .status.objectCounts.synced
name: '#Synced'
type: integer
- jsonPath: .status.objectCounts.ready
name: '#Ready'
type: integer
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
15 changes: 15 additions & 0 deletions manifests/experimental-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,21 @@ spec:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
- jsonPath: .status.objectCounts.total
name: '#Total'
type: integer
- jsonPath: .status.objectCounts.present
name: '#Present'
type: integer
- jsonPath: .status.objectCounts.synced
name: '#Synced'
type: integer
- jsonPath: .status.objectCounts.ready
name: '#Ready'
type: integer
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
15 changes: 15 additions & 0 deletions manifests/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,21 @@ spec:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
- jsonPath: .status.objectCounts.total
name: '#Total'
type: integer
- jsonPath: .status.objectCounts.present
name: '#Present'
type: integer
- jsonPath: .status.objectCounts.synced
name: '#Synced'
type: integer
- jsonPath: .status.objectCounts.ready
name: '#Ready'
type: integer
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
Loading