Skip to content

Commit

Permalink
fix: add shortnames
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Dec 18, 2024
1 parent 8edf66e commit 896de70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/bigqueryanalyticshub/v1alpha1/listing_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ type BigQueryAnalyticsHubListingObservedState struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:categories=gcp
// +kubebuilder:resource:categories=gcp,shortName=gcpbigqueryanalyticshublisting;gcpbigqueryanalyticshublistings
// +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/bigqueryanalyticshub/v1beta1/listing_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ type BigQueryAnalyticsHubListingObservedState struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:categories=gcp
// +kubebuilder:resource:categories=gcp,shortName=gcpbigqueryanalyticshublisting;gcpbigqueryanalyticshublistings
// +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: BigQueryAnalyticsHubListing
listKind: BigQueryAnalyticsHubListingList
plural: bigqueryanalyticshublistings
shortNames:
- gcpbigqueryanalyticshublisting
- gcpbigqueryanalyticshublistings
singular: bigqueryanalyticshublisting
preserveUnknownFields: false
scope: Namespaced
Expand Down

0 comments on commit 896de70

Please sign in to comment.