Skip to content

Commit

Permalink
fix(monitor): Fix friendly name print column
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 17, 2024
1 parent 1a4861f commit 7f237e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1/monitor_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type MonitorStatus struct {
//+kubebuilder:subresource:status
//+kubebuilder:subresource:scale:specpath=.spec.monitor.status,statuspath=.status.status
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready"
//+kubebuilder:printcolumn:name="Friendly Name",type="string",JSONPath=".spec.monitor.friendlyName"
//+kubebuilder:printcolumn:name="Friendly Name",type="string",JSONPath=".spec.monitor.name"
//+kubebuilder:printcolumn:name="URL",type="string",JSONPath=".spec.monitor.url"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/uptime-robot.clevyr.com_monitors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- jsonPath: .status.ready
name: Ready
type: boolean
- jsonPath: .spec.monitor.friendlyName
- jsonPath: .spec.monitor.name
name: Friendly Name
type: string
- jsonPath: .spec.monitor.url
Expand Down

0 comments on commit 7f237e2

Please sign in to comment.