Skip to content

Commit bd49e03

Browse files
authored
Merge pull request #60 from leooamaral/feat/add-crd-shortname
feat: add crd shortname
2 parents 7735453 + 5c58ecf commit bd49e03

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/suse-ai-operator/crds/installaiextensions.ai-platform.suse.com.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
kind: InstallAIExtension
1111
listKind: InstallAIExtensionList
1212
plural: installaiextensions
13+
shortNames:
14+
- iae
1315
singular: installaiextension
1416
scope: Cluster
1517
versions:

suse-ai-operator/api/v1alpha1/installaiextension_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type InstallAIExtensionStatus struct {
6363

6464
// +kubebuilder:object:root=true
6565
// +kubebuilder:subresource:status
66-
// +kubebuilder:resource:scope=Cluster
66+
// +kubebuilder:resource:scope=Cluster,shortName=iae
6767

6868
// InstallAIExtension is the Schema for the installaiextensions API
6969
type InstallAIExtension struct {

0 commit comments

Comments
 (0)