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/v1alpha1/history_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ type HistoryStatus struct {
// +kubebuilder:printcolumn:name="AZ",type="string",JSONPath=".spec.availabilityZone"
// +kubebuilder:printcolumn:name="Target Host",type="string",JSONPath=".status.current.targetHost"
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
// +kubebuilder:printcolumn:name="Last Scheduled",type="date",JSONPath=".status.current.timestamp"
// +kubebuilder:printcolumn:name="Created",type="date",JSONPath=".metadata.creationTimestamp"

// The history is a CRD that provides a record of past scheduling decisions for a given resource (e.g., a nova instance).
Expand Down
3 changes: 3 additions & 0 deletions helm/library/cortex/files/crds/cortex.cloud_histories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Status
type: string
- jsonPath: .status.current.timestamp
name: Last Scheduled
type: date
- jsonPath: .metadata.creationTimestamp
name: Created
type: date
Expand Down
Loading