Skip to content

Commit

Permalink
feat(account): Add default to print columns
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 16, 2024
1 parent cae1cc5 commit f0e0fbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/account_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type AccountStatus struct {
//+kubebuilder:subresource:status
//+kubebuilder:resource:scope=Cluster
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready"
//+kubebuilder:printcolumn:name="Default",type="boolean",JSONPath=".spec.isDefault"
//+kubebuilder:printcolumn:name="Email",type="string",JSONPath=".status.email"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/uptime-robot.clevyr.com_accounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
- jsonPath: .status.ready
name: Ready
type: boolean
- jsonPath: .spec.isDefault
name: Default
type: boolean
- jsonPath: .status.email
name: Email
type: string
Expand Down

0 comments on commit f0e0fbe

Please sign in to comment.