Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add(api): shortname for CRD #650

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/datasciencecluster/v1/datasciencecluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type DataScienceClusterStatus struct {

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:scope=Cluster
//+kubebuilder:resource:scope=Cluster,shortName=dsc
//+kubebuilder:storageversion

// DataScienceCluster is the Schema for the datascienceclusters API.
Expand Down
2 changes: 1 addition & 1 deletion apis/dscinitialization/v1/dscinitialization_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type DSCInitializationStatus struct {
}

//+kubebuilder:object:root=true
//+kubebuilder:resource:scope=Cluster
//+kubebuilder:resource:scope=Cluster,shortName=dsci
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="Age",type=date,JSONPath=.metadata.creationTimestamp
//+kubebuilder:printcolumn:name="Phase",type=string,JSONPath=.status.phase,description="Current Phase"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
kind: DataScienceCluster
listKind: DataScienceClusterList
plural: datascienceclusters
shortNames:
- dsc
singular: datasciencecluster
scope: Cluster
versions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
kind: DSCInitialization
listKind: DSCInitializationList
plural: dscinitializations
shortNames:
- dsci
singular: dscinitialization
scope: Cluster
versions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
kind: DataScienceCluster
listKind: DataScienceClusterList
plural: datascienceclusters
shortNames:
- dsc
singular: datasciencecluster
scope: Cluster
versions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
kind: DSCInitialization
listKind: DSCInitializationList
plural: dscinitializations
shortNames:
- dsci
singular: dscinitialization
scope: Cluster
versions:
Expand Down