Skip to content

Commit 1cb3ccf

Browse files
committed
Move flatcar-sysext to v1alpha8
This was added via v1alpha7 but the latest api is v1alpha8 and to keep our CI consistent we will move the manifests to v1alpha8.
1 parent 7edf6a1 commit 1cb3ccf

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

kustomize/v1alpha7/flatcar-sysext/patch-flatcar.yaml renamed to kustomize/v1alpha8/flatcar-sysext/patch-flatcar.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
2+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
33
kind: OpenStackCluster
44
metadata:
55
name: ${CLUSTER_NAME}
@@ -166,7 +166,7 @@ spec:
166166
[Service]
167167
EnvironmentFile=/run/metadata/flatcar
168168
---
169-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
169+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
170170
kind: OpenStackMachineTemplate
171171
metadata:
172172
name: ${CLUSTER_NAME}-md-0
@@ -175,7 +175,7 @@ spec:
175175
spec:
176176
image: ${FLATCAR_IMAGE_NAME}
177177
---
178-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
178+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
179179
kind: OpenStackMachineTemplate
180180
metadata:
181181
name: ${CLUSTER_NAME}-control-plane

templates/cluster-template-flatcar-sysext.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ spec:
9898
kind: KubeadmControlPlane
9999
name: ${CLUSTER_NAME}-control-plane
100100
infrastructureRef:
101-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
101+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
102102
kind: OpenStackCluster
103103
name: ${CLUSTER_NAME}
104104
---
@@ -121,7 +121,7 @@ spec:
121121
clusterName: ${CLUSTER_NAME}
122122
failureDomain: ${OPENSTACK_FAILURE_DOMAIN}
123123
infrastructureRef:
124-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
124+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
125125
kind: OpenStackMachineTemplate
126126
name: ${CLUSTER_NAME}-md-0
127127
version: ${KUBERNETES_VERSION}
@@ -213,13 +213,13 @@ spec:
213213
- mv /etc/kubeadm.yml.tmp /etc/kubeadm.yml
214214
machineTemplate:
215215
infrastructureRef:
216-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
216+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
217217
kind: OpenStackMachineTemplate
218218
name: ${CLUSTER_NAME}-control-plane
219219
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
220220
version: ${KUBERNETES_VERSION}
221221
---
222-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
222+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
223223
kind: OpenStackCluster
224224
metadata:
225225
name: ${CLUSTER_NAME}
@@ -234,7 +234,7 @@ spec:
234234
managedSecurityGroups: true
235235
nodeCidr: 10.6.0.0/24
236236
---
237-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
237+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
238238
kind: OpenStackMachineTemplate
239239
metadata:
240240
name: ${CLUSTER_NAME}-control-plane
@@ -249,7 +249,7 @@ spec:
249249
image: ${FLATCAR_IMAGE_NAME}
250250
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
251251
---
252-
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha7
252+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha8
253253
kind: OpenStackMachineTemplate
254254
metadata:
255255
name: ${CLUSTER_NAME}-md-0

test/e2e/data/kustomize/flatcar-sysext/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
resources:
3-
- ../../../../../kustomize/v1alpha7/flatcar-sysext
3+
- ../../../../../kustomize/v1alpha8/flatcar-sysext
44

55
components:
66
- ../common-patches/cni

0 commit comments

Comments
 (0)