Skip to content

Commit

Permalink
fix: rename column
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tien committed Feb 19, 2025
1 parent 253a821 commit 15caeda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/yurt-manager/crds/apps.openyurt.io_nodepools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ spec:
name: LeaderNodes
type: integer
- description: The time when the leader yurthub is elected
jsonPath: .status.leaderElectionTime
jsonPath: .status.leaderLastElectedTime
name: LeaderElectionAge
type: date
- jsonPath: .metadata.creationTimestamp
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/apps/v1beta2/nodepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ type NodePoolCondition struct {
// +kubebuilder:printcolumn:name="ReadyNodes",type="integer",JSONPath=".status.readyNodeNum",description="The number of ready nodes in the pool"
// +kubebuilder:printcolumn:name="NotReadyNodes",type="integer",JSONPath=".status.unreadyNodeNum"
// +kubebuilder:printcolumn:name="LeaderNodes",type="integer",JSONPath=".status.leaderNum",description="The leader node of the nodepool"
// +kubebuilder:printcolumn:name="LeaderElectionAge",type="date",JSONPath=".status.leaderElectionTime",description="The time when the leader yurthub is elected"
// +kubebuilder:printcolumn:name="LeaderElectionAge",type="date",JSONPath=".status.leaderLastElectedTime",description="The time when the leader yurthub is elected"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
// +genclient:nonNamespaced
Expand Down

0 comments on commit 15caeda

Please sign in to comment.