Skip to content

Commit fb47e9c

Browse files
Merge pull request #1412 from steveb/osv
Add missing short names for OpenStackVersion
2 parents 7b7bd5e + e041eb7 commit fb47e9c

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

apis/bases/core.openstack.org_openstackversions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ spec:
1111
kind: OpenStackVersion
1212
listKind: OpenStackVersionList
1313
plural: openstackversions
14+
shortNames:
15+
- osv
16+
- osvs
1417
singular: openstackversion
1518
scope: Namespaced
1619
versions:

apis/core/v1beta1/openstackversion_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ type OpenStackVersionStatus struct {
185185

186186
// +kubebuilder:object:root=true
187187
// +kubebuilder:subresource:status
188+
// +kubebuilder:resource:shortName=osv;osvs
188189
// +operator-sdk:csv:customresourcedefinitions:displayName="OpenStack Version"
189190
// +kubebuilder:printcolumn:name="Target Version",type=string,JSONPath=`.spec.targetVersion`
190191
// +kubebuilder:printcolumn:name="Available Version",type=string,JSONPath=`.status.availableVersion`

bindata/crds/crds.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19674,6 +19674,9 @@ spec:
1967419674
kind: OpenStackVersion
1967519675
listKind: OpenStackVersionList
1967619676
plural: openstackversions
19677+
shortNames:
19678+
- osv
19679+
- osvs
1967719680
singular: openstackversion
1967819681
scope: Namespaced
1967919682
versions:

config/crd/bases/core.openstack.org_openstackversions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ spec:
1111
kind: OpenStackVersion
1212
listKind: OpenStackVersionList
1313
plural: openstackversions
14+
shortNames:
15+
- osv
16+
- osvs
1417
singular: openstackversion
1518
scope: Namespaced
1619
versions:

0 commit comments

Comments
 (0)