File tree 1 file changed +42
-0
lines changed
examples/templates/kubevirt-talos
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,48 @@ resource "kubernetes_manifest" "taloscontrolplane_talos_em_control_plane" {
269
269
]
270
270
" generateType" = " controlplane"
271
271
}
272
+ " init" = {
273
+ " configPatches" = [
274
+ {
275
+ " op" = " replace"
276
+ " path" = " /machine/install"
277
+ " value" = {
278
+ " bootloader" = true
279
+ " disk" = " /dev/vda"
280
+ " image" = " ghcr.io/siderolabs/installer:v1.2.4"
281
+ " wipe" = false
282
+ " extraKernelArgs" = [" console=ttyS0" ]
283
+ }
284
+ },
285
+ {
286
+ " op" = " add"
287
+ " path" = " /machine/kubelet/extraArgs"
288
+ " value" = {
289
+ " cloud-provider" = " external"
290
+ }
291
+ },
292
+ {
293
+ " op" = " add"
294
+ " path" = " /cluster/apiServer/extraArgs"
295
+ " value" = {
296
+ " cloud-provider" = " external"
297
+ }
298
+ },
299
+ {
300
+ " op" = " add"
301
+ " path" = " /cluster/controllerManager/extraArgs"
302
+ " value" = {
303
+ " cloud-provider" = " external"
304
+ }
305
+ },
306
+ {
307
+ " op" = " add"
308
+ " path" = " /cluster/allowSchedulingOnMasters"
309
+ " value" = true
310
+ },
311
+ ]
312
+ " generateType" = " init"
313
+ }
272
314
}
273
315
" infrastructureTemplate" = {
274
316
" apiVersion" = " infrastructure.cluster.x-k8s.io/v1alpha1"
You can’t perform that action at this time.
0 commit comments