Skip to content

Commit d33c1bc

Browse files
committed
Stop serving v1alpha5
1 parent 522ed82 commit d33c1bc

8 files changed

+8
-4
lines changed

api/v1alpha5/openstackcluster_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ type OpenStackClusterStatus struct {
206206
}
207207

208208
// +kubebuilder:object:root=true
209+
// +kubebuilder:unservedversion
209210
// +kubebuilder:deprecatedversion:warning="The v1alpha5 version of OpenStackCluster has been deprecated and will be removed in a future release of the API. Please upgrade."
210211
// +kubebuilder:resource:path=openstackclusters,scope=Namespaced,categories=cluster-api,shortName=osc
211212
// +kubebuilder:subresource:status

api/v1alpha5/openstackclustertemplate_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type OpenStackClusterTemplateSpec struct {
3131
}
3232

3333
// +kubebuilder:object:root=true
34+
// +kubebuilder:unservedversion
3435
// +kubebuilder:deprecatedversion:warning="The v1alpha5 version of OpenStackClusterTemplate has been deprecated and will be removed in a future release of the API. Please upgrade."
3536
// +kubebuilder:resource:path=openstackclustertemplates,scope=Namespaced,categories=cluster-api,shortName=osct
3637

api/v1alpha5/openstackmachine_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ type OpenStackMachineStatus struct {
135135
}
136136

137137
// +kubebuilder:object:root=true
138+
// +kubebuilder:unservedversion
138139
// +kubebuilder:deprecatedversion:warning="The v1alpha5 version of OpenStackMachine has been deprecated and will be removed in a future release of the API. Please upgrade."
139140
// +kubebuilder:resource:path=openstackmachines,scope=Namespaced,categories=cluster-api,shortName=osm
140141
// +kubebuilder:subresource:status

api/v1alpha5/openstackmachinetemplate_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type OpenStackMachineTemplateSpec struct {
2626
}
2727

2828
// +kubebuilder:object:root=true
29+
// +kubebuilder:unservedversion
2930
// +kubebuilder:deprecatedversion:warning="The v1alpha5 version of OpenStackMachineTemplate has been deprecated and will be removed in a future release of the API. Please upgrade."
3031
// +kubebuilder:resource:path=openstackmachinetemplates,scope=Namespaced,categories=cluster-api,shortName=osmt
3132

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ spec:
17911791
- ready
17921792
type: object
17931793
type: object
1794-
served: true
1794+
served: false
17951795
storage: false
17961796
subresources:
17971797
status: {}

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclustertemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ spec:
741741
- template
742742
type: object
743743
type: object
744-
served: true
744+
served: false
745745
storage: false
746746
- name: v1alpha6
747747
schema:

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackmachines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ spec:
565565
type: boolean
566566
type: object
567567
type: object
568-
served: true
568+
served: false
569569
storage: false
570570
subresources:
571571
status: {}

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackmachinetemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ spec:
462462
- template
463463
type: object
464464
type: object
465-
served: true
465+
served: false
466466
storage: false
467467
- name: v1alpha6
468468
schema:

0 commit comments

Comments
 (0)