Skip to content

Commit

Permalink
Don't serve v1alpha6
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbooth committed Apr 30, 2024
1 parent 2b6995e commit 6f9261d
Show file tree
Hide file tree
Showing 26 changed files with 13 additions and 662 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ E2E_NO_ARTIFACT_TEMPLATES_DIR=test/e2e/data/infrastructure-openstack-no-artifact
.PHONY: e2e-templates
e2e-templates: ## Generate cluster templates for e2e tests
e2e-templates: $(addprefix $(E2E_NO_ARTIFACT_TEMPLATES_DIR)/, \
cluster-template-v1alpha6.yaml \
cluster-template-v1alpha7.yaml \
cluster-template-md-remediation.yaml \
cluster-template-kcp-remediation.yaml \
Expand Down
2 changes: 2 additions & 0 deletions api/v1alpha6/openstackcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ type OpenStackClusterStatus struct {
// +genclient
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:deprecatedversion:warning="The v1alpha6 version of OpenStackCluster has been deprecated and will be removed in a future release of the API. Please upgrade."
// +kubebuilder:resource:path=openstackclusters,scope=Namespaced,categories=cluster-api,shortName=osc
// +kubebuilder:subresource:status
Expand All @@ -238,6 +239,7 @@ type OpenStackCluster struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// OpenStackClusterList contains a list of OpenStackCluster.
//
Expand Down
2 changes: 2 additions & 0 deletions api/v1alpha6/openstackclustertemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type OpenStackClusterTemplateSpec struct {
// +genclient
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:deprecatedversion:warning="The v1alpha6 version of OpenStackClusterTemplate has been deprecated and will be removed in a future release of the API. Please upgrade."
// +kubebuilder:resource:path=openstackclustertemplates,scope=Namespaced,categories=cluster-api,shortName=osct

Expand All @@ -47,6 +48,7 @@ type OpenStackClusterTemplate struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// OpenStackClusterTemplateList contains a list of OpenStackClusterTemplate.
//
Expand Down
2 changes: 2 additions & 0 deletions api/v1alpha6/openstackmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ type OpenStackMachineStatus struct {
// +genclient
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:deprecatedversion:warning="The v1alpha6 version of OpenStackMachine has been deprecated and will be removed in a future release of the API. Please upgrade."
// +kubebuilder:resource:path=openstackmachines,scope=Namespaced,categories=cluster-api,shortName=osm
// +kubebuilder:subresource:status
Expand All @@ -161,6 +162,7 @@ type OpenStackMachine struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// OpenStackMachineList contains a list of OpenStackMachine.
//
Expand Down
2 changes: 2 additions & 0 deletions api/v1alpha6/openstackmachinetemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type OpenStackMachineTemplateSpec struct {
// +genclient
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:unservedversion
// +kubebuilder:deprecatedversion:warning="The v1alpha6 version of OpenStackMachineTemplate has been deprecated and will be removed in a future release of the API. Please upgrade."
// +kubebuilder:resource:path=openstackmachinetemplates,scope=Namespaced,categories=cluster-api,shortName=osmt

Expand All @@ -42,6 +43,7 @@ type OpenStackMachineTemplate struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:unservedversion

// OpenStackMachineTemplateList contains a list of OpenStackMachineTemplate.
//
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

184 changes: 0 additions & 184 deletions kustomize/v1alpha6/default/cluster-template.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions kustomize/v1alpha6/default/kustomization.yaml

This file was deleted.

This file was deleted.

43 changes: 0 additions & 43 deletions kustomize/v1alpha6/external-cloud-provider-flatcar/patch-ccm.yaml

This file was deleted.

Loading

0 comments on commit 6f9261d

Please sign in to comment.