1
- apiVersion : cluster.x-k8s.io/v1beta1
1
+ apiVersion : cluster.x-k8s.io/v1beta2
2
2
kind : ClusterClass
3
3
metadata :
4
4
name : quick-start
5
5
spec :
6
6
controlPlane :
7
7
ref :
8
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
8
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
9
9
kind : KubeadmControlPlaneTemplate
10
10
name : quick-start-control-plane
11
11
machineInfrastructure :
12
12
ref :
13
13
kind : DockerMachineTemplate
14
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
14
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
15
15
name : quick-start-control-plane
16
16
machineHealthCheck :
17
17
unhealthyConditions :
23
23
timeout : 300s
24
24
infrastructure :
25
25
ref :
26
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
26
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
27
27
kind : DockerClusterTemplate
28
28
name : quick-start-cluster
29
29
workers :
@@ -32,12 +32,12 @@ spec:
32
32
template :
33
33
bootstrap :
34
34
ref :
35
- apiVersion : bootstrap.cluster.x-k8s.io/v1beta1
35
+ apiVersion : bootstrap.cluster.x-k8s.io/v1beta2
36
36
kind : KubeadmConfigTemplate
37
37
name : quick-start-default-worker-bootstraptemplate
38
38
infrastructure :
39
39
ref :
40
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
40
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
41
41
kind : DockerMachineTemplate
42
42
name : quick-start-default-worker-machinetemplate
43
43
machineHealthCheck :
@@ -53,12 +53,12 @@ spec:
53
53
template :
54
54
bootstrap :
55
55
ref :
56
- apiVersion : bootstrap.cluster.x-k8s.io/v1beta1
56
+ apiVersion : bootstrap.cluster.x-k8s.io/v1beta2
57
57
kind : KubeadmConfigTemplate
58
58
name : quick-start-default-worker-bootstraptemplate
59
59
infrastructure :
60
60
ref :
61
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
61
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
62
62
kind : DockerMachinePoolTemplate
63
63
name : quick-start-default-worker-machinepooltemplate
64
64
variables :
@@ -114,7 +114,7 @@ spec:
114
114
enabledIf : ' {{ ne .imageRepository "" }}'
115
115
definitions :
116
116
- selector :
117
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
117
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
118
118
kind : KubeadmControlPlaneTemplate
119
119
matchResources :
120
120
controlPlane : true
@@ -128,7 +128,7 @@ spec:
128
128
description : " Sets tag to use for the etcd image in the KubeadmControlPlane."
129
129
definitions :
130
130
- selector :
131
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
131
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
132
132
kind : KubeadmControlPlaneTemplate
133
133
matchResources :
134
134
controlPlane : true
@@ -144,7 +144,7 @@ spec:
144
144
description : " Sets tag to use for the etcd image in the KubeadmControlPlane."
145
145
definitions :
146
146
- selector :
147
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
147
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
148
148
kind : KubeadmControlPlaneTemplate
149
149
matchResources :
150
150
controlPlane : true
@@ -158,7 +158,7 @@ spec:
158
158
description : " Sets the container image that is used for running dockerMachines for the controlPlane and default-worker machineDeployments."
159
159
definitions :
160
160
- selector :
161
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
161
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
162
162
kind : DockerMachineTemplate
163
163
matchResources :
164
164
machineDeploymentClass :
@@ -171,7 +171,7 @@ spec:
171
171
template : |
172
172
kindest/node:{{ .builtin.machineDeployment.version | replace "+" "_" }}
173
173
- selector :
174
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
174
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
175
175
kind : DockerMachinePoolTemplate
176
176
matchResources :
177
177
machinePoolClass :
@@ -184,7 +184,7 @@ spec:
184
184
template : |
185
185
kindest/node:{{ .builtin.machinePool.version | replace "+" "_" }}
186
186
- selector :
187
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
187
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
188
188
kind : DockerMachineTemplate
189
189
matchResources :
190
190
controlPlane : true
@@ -198,7 +198,7 @@ spec:
198
198
description : " Adds an admission configuration for PodSecurity to the kube-apiserver."
199
199
definitions :
200
200
- selector :
201
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
201
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
202
202
kind : KubeadmControlPlaneTemplate
203
203
matchResources :
204
204
controlPlane : true
@@ -241,7 +241,7 @@ spec:
241
241
path: /etc/kubernetes/kube-apiserver-admission-pss.yaml
242
242
enabledIf : " {{ .podSecurityStandard.enabled }}"
243
243
---
244
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
244
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
245
245
kind : DockerClusterTemplate
246
246
metadata :
247
247
name : quick-start-cluster
@@ -250,7 +250,7 @@ spec:
250
250
spec : {}
251
251
---
252
252
kind : KubeadmControlPlaneTemplate
253
- apiVersion : controlplane.cluster.x-k8s.io/v1beta1
253
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta2
254
254
metadata :
255
255
name : quick-start-control-plane
256
256
spec :
@@ -266,7 +266,7 @@ spec:
266
266
joinConfiguration :
267
267
nodeRegistration : {} # node registration parameters are automatically injected by CAPD according to the kindest/node image in use.
268
268
---
269
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
269
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
270
270
kind : DockerMachineTemplate
271
271
metadata :
272
272
name : quick-start-control-plane
@@ -277,7 +277,7 @@ spec:
277
277
- containerPath : " /var/run/docker.sock"
278
278
hostPath : " /var/run/docker.sock"
279
279
---
280
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
280
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
281
281
kind : DockerMachineTemplate
282
282
metadata :
283
283
name : quick-start-default-worker-machinetemplate
@@ -288,7 +288,7 @@ spec:
288
288
- containerPath : " /var/run/docker.sock"
289
289
hostPath : " /var/run/docker.sock"
290
290
---
291
- apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
291
+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
292
292
kind : DockerMachinePoolTemplate
293
293
metadata :
294
294
name : quick-start-default-worker-machinepooltemplate
@@ -297,7 +297,7 @@ spec:
297
297
spec :
298
298
template : {}
299
299
---
300
- apiVersion : bootstrap.cluster.x-k8s.io/v1beta1
300
+ apiVersion : bootstrap.cluster.x-k8s.io/v1beta2
301
301
kind : KubeadmConfigTemplate
302
302
metadata :
303
303
name : quick-start-default-worker-bootstraptemplate
0 commit comments