Skip to content

Commit

Permalink
print target cluster from status (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatousJobanek authored Jan 2, 2024
1 parent 34f7cb3 commit aeed3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/masteruserrecord_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ type Cluster struct {
// +kubebuilder:resource:shortName=mur
// +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="Cluster",type="string",JSONPath=`.spec.userAccounts[].targetCluster`
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=`.status.userAccounts[].cluster.name`
// +kubebuilder:printcolumn:name="Tier",type="string",JSONPath=`.spec.tierName`
// +kubebuilder:printcolumn:name="Banned",type="string",JSONPath=`.spec.banned`,priority=1
// +kubebuilder:printcolumn:name="Disabled",type="string",JSONPath=`.spec.disabled`,priority=1
Expand Down

0 comments on commit aeed3c1

Please sign in to comment.