Skip to content

Commit 648525f

Browse files
authored
Bump KCP Template for clusterclass changes (#7)
1 parent 88a7966 commit 648525f

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

test/e2e/data/infrastructure-aws/withclusterclass/kustomize_sources/topology/clusterclass-ci-default.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
controlPlane:
77
ref:
8-
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
8+
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
99
kind: KubeadmControlPlaneTemplate
1010
name: ci-default-control-plane
1111
machineInfrastructure:
@@ -205,7 +205,7 @@ spec:
205205
enabledIf: '{{ eq .selfHosted "yes" }}'
206206
definitions:
207207
- selector:
208-
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
208+
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
209209
kind: KubeadmControlPlaneTemplate
210210
matchResources:
211211
controlPlane: true
@@ -278,7 +278,7 @@ spec:
278278
healthCheckProtocol: HTTPS
279279
---
280280
kind: KubeadmControlPlaneTemplate
281-
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
281+
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
282282
metadata:
283283
name: ci-default-control-plane
284284
spec:
@@ -288,20 +288,24 @@ spec:
288288
clusterConfiguration:
289289
apiServer:
290290
extraArgs:
291-
cloud-provider: external
291+
- name: cloud-provider
292+
value: external
292293
controllerManager:
293294
extraArgs:
294-
cloud-provider: external
295+
- name: cloud-provider
296+
value: external
295297
initConfiguration:
296298
nodeRegistration:
297299
name: '{{ ds.meta_data.local_hostname }}'
298300
kubeletExtraArgs:
299-
cloud-provider: external
301+
- name: cloud-provider
302+
value: external
300303
joinConfiguration:
301304
nodeRegistration:
302305
name: '{{ ds.meta_data.local_hostname }}'
303306
kubeletExtraArgs:
304-
cloud-provider: external
307+
- name: cloud-provider
308+
value: external
305309
---
306310
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
307311
kind: AWSMachineTemplate

0 commit comments

Comments
 (0)