Skip to content

Commit

Permalink
fix:shortnames: worstationcluster
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Jan 6, 2025
1 parent 974a6ea commit 93f426e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/workstations/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type WorkstationClusterObservedState struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:categories=gcp
// +kubebuilder:resource:categories=gcp,shortName=gcpworkstationcluster;gcpworkstationclusters
// +kubebuilder:subresource:status
// +kubebuilder:metadata:labels="cnrm.cloud.google.com/managed-by-kcc=true";"cnrm.cloud.google.com/system=true"
// +kubebuilder:printcolumn:name="Age",JSONPath=".metadata.creationTimestamp",type="date"
Expand Down
2 changes: 1 addition & 1 deletion apis/workstations/v1beta1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type WorkstationClusterObservedState struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:categories=gcp
// +kubebuilder:resource:categories=gcp,shortName=gcpworkstationcluster;gcpworkstationclusters
// +kubebuilder:subresource:status
// +kubebuilder:metadata:labels="cnrm.cloud.google.com/managed-by-kcc=true";"cnrm.cloud.google.com/system=true"
// +kubebuilder:printcolumn:name="Age",JSONPath=".metadata.creationTimestamp",type="date"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
kind: WorkstationCluster
listKind: WorkstationClusterList
plural: workstationclusters
shortNames:
- gcpworkstationcluster
- gcpworkstationclusters
singular: workstationcluster
preserveUnknownFields: false
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</tr>
<tr>
<td>{{product_name_short}} Resource Short Names</td>
<td>workstationcluster</td>
<td>gcpworkstationcluster<br>gcpworkstationclusters<br>workstationcluster</td>
</tr>
<tr>
<td>{{product_name_short}} Service Name</td>
Expand Down

0 comments on commit 93f426e

Please sign in to comment.