Skip to content

Commit

Permalink
Change ManagedCluster's short names
Browse files Browse the repository at this point in the history
  • Loading branch information
a13x5 committed Oct 7, 2024
1 parent 7efc36d commit 6b1b22c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/managedcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ type ManagedClusterStatus struct {

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=hmc-deploy;deploy
// +kubebuilder:resource:shortName=mcluster;mcl
// +kubebuilder:printcolumn:name="ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="Ready",priority=0
// +kubebuilder:printcolumn:name="status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description="Status",priority=0
// +kubebuilder:printcolumn:name="dryRun",type="string",JSONPath=".spec.dryRun",description="Dry Run",priority=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ spec:
listKind: ManagedClusterList
plural: managedclusters
shortNames:
- hmc-deploy
- deploy
- mcluster
- mcl
singular: managedcluster
scope: Namespaced
versions:
Expand Down

0 comments on commit 6b1b22c

Please sign in to comment.