Skip to content

Commit 43673fa

Browse files
committed
Rename v1alpha8 to v1beta1
1 parent 5cfeccc commit 43673fa

File tree

104 files changed

+1876
-1876
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+1876
-1876
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ linters-settings:
102102
alias: infrav1alpha6
103103
- pkg: sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha7
104104
alias: infrav1alpha7
105-
- pkg: sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha8
105+
- pkg: sigs.k8s.io/cluster-api-provider-openstack/api/v1beta1
106106
alias: infrav1
107107
- pkg: sigs.k8s.io/cluster-api-provider-openstack/pkg/utils/errors
108108
alias: capoerrors

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ generate-go: $(MOCKGEN)
260260
--input-dirs=./api/v1alpha5 \
261261
--input-dirs=./api/v1alpha6 \
262262
--input-dirs=./api/v1alpha7 \
263-
--input-dirs=./api/v1alpha8 \
263+
--input-dirs=./api/v1beta1 \
264264
--output-file-base=zz_generated.conversion \
265265
--go-header-file=./hack/boilerplate/boilerplate.generatego.txt
266266
go generate ./...
@@ -410,10 +410,10 @@ templates: templates/cluster-template.yaml \
410410
templates/cluster-template-flatcar.yaml \
411411
templates/cluster-template-flatcar-sysext.yaml
412412

413-
templates/cluster-template.yaml: kustomize/v1alpha8/default $(KUSTOMIZE) FORCE
413+
templates/cluster-template.yaml: kustomize/v1beta1/default $(KUSTOMIZE) FORCE
414414
$(KUSTOMIZE) build "$<" > "$@"
415415

416-
templates/cluster-template-%.yaml: kustomize/v1alpha8/% $(KUSTOMIZE) FORCE
416+
templates/cluster-template-%.yaml: kustomize/v1beta1/% $(KUSTOMIZE) FORCE
417417
$(KUSTOMIZE) build "$<" > "$@"
418418

419419
.PHONY: release-templates

PROJECT

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ resources:
4242
kind: OpenStackClusterTemplate
4343
version: v1alpha7
4444
- group: infrastructure
45-
version: v1alpha8
45+
version: v1beta1
4646
kind: OpenStackCluster
4747
- group: infrastructure
48-
version: v1alpha8
48+
version: v1beta1
4949
kind: OpenStackMachine
5050
- group: infrastructure
51-
version: v1alpha8
51+
version: v1beta1
5252
kind: OpenStackMachineTemplate
5353
- group: infrastructure
5454
kind: OpenStackClusterTemplate
55-
version: v1alpha8
55+
version: v1beta1
5656
- group: infrastructure
5757
kind: OpenStackFloatingIPPool
5858
version: v1alpha1

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This provider's versions are compatible with the following versions of Cluster A
4444
| OpenStack Provider v1alpha5 (v0.6) ||
4545
| OpenStack Provider v1alpha6 (v0.7) ||
4646
| OpenStack Provider v1alpha7 (v0.9) ||
47-
| OpenStack Provider v1alpha8 ||
47+
| OpenStack Provider v1beta1 ||
4848

4949

5050
This provider's versions are able to install and manage the following versions of Kubernetes:
@@ -54,7 +54,7 @@ This provider's versions are able to install and manage the following versions o
5454
| OpenStack Provider v1alpha5 (v0.6) || + | + | + |
5555
| OpenStack Provider v1alpha6 (v0.7) |||| + |
5656
| OpenStack Provider v1alpha7 (v0.9) | + ||||
57-
| OpenStack Provider v1alpha8 | + ||||
57+
| OpenStack Provider v1beta1 | + ||||
5858

5959
This provider's versions are able to install Kubernetes to the following versions of OpenStack:
6060

@@ -63,7 +63,7 @@ This provider's versions are able to install Kubernetes to the following version
6363
| OpenStack Provider v1alpha5 (v0.6) | + | + | + | + | + ||||||
6464
| OpenStack Provider v1alpha6 (v0.7) | + | + | + | + | + ||||||
6565
| OpenStack Provider v1alpha7 (v0.9) | | + | + | + | + ||||||
66-
| OpenStack Provider v1alpha8 | | + | + | + | + ||||||
66+
| OpenStack Provider v1beta1 | | + | + | + | + ||||||
6767

6868
Test status:
6969

api/v1alpha5/conversion.go

Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.

api/v1alpha5/conversion_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
runtime "k8s.io/apimachinery/pkg/runtime"
2525
ctrlconversion "sigs.k8s.io/controller-runtime/pkg/conversion"
2626

27-
infrav1 "sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha8"
27+
infrav1 "sigs.k8s.io/cluster-api-provider-openstack/api/v1beta1"
2828
)
2929

3030
func TestConvertFrom(t *testing.T) {
@@ -110,7 +110,7 @@ func TestConvertFrom(t *testing.T) {
110110
}
111111
}
112112

113-
func TestConvert_v1alpha5_OpenStackClusterSpec_To_v1alpha8_OpenStackClusterSpec(t *testing.T) {
113+
func TestConvert_v1alpha5_OpenStackClusterSpec_To_v1beta1_OpenStackClusterSpec(t *testing.T) {
114114
tests := []struct {
115115
name string
116116
in *OpenStackClusterSpec
@@ -151,7 +151,7 @@ func TestConvert_v1alpha5_OpenStackClusterSpec_To_v1alpha8_OpenStackClusterSpec(
151151
t.Run(tt.name, func(t *testing.T) {
152152
g := gomega.NewWithT(t)
153153
out := &infrav1.OpenStackClusterSpec{}
154-
err := Convert_v1alpha5_OpenStackClusterSpec_To_v1alpha8_OpenStackClusterSpec(tt.in, out, nil)
154+
err := Convert_v1alpha5_OpenStackClusterSpec_To_v1beta1_OpenStackClusterSpec(tt.in, out, nil)
155155
g.Expect(err).NotTo(gomega.HaveOccurred())
156156
g.Expect(out).To(gomega.Equal(tt.expectedOut))
157157
})

api/v1alpha5/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha8
17+
// +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-openstack/api/v1beta1
1818
package v1alpha5

0 commit comments

Comments
 (0)