@@ -428,20 +428,20 @@ spec:
428
428
matchResources :
429
429
controlPlane : true
430
430
jsonPatches :
431
- - op : add
432
- path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/apiServer/extraArgs/- "
431
+ - op : replace
432
+ path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/apiServer/extraArgs/0 "
433
433
valueFrom :
434
434
template : |
435
435
name: v
436
436
value: "{{ .kubeControlPlaneLogLevel }}"
437
- - op : add
438
- path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/controllerManager/extraArgs/- "
437
+ - op : replace
438
+ path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/controllerManager/extraArgs/0 "
439
439
valueFrom :
440
440
template : |
441
441
name: v
442
442
value: "{{ .kubeControlPlaneLogLevel }}"
443
- - op : add
444
- path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/scheduler/extraArgs/- "
443
+ - op : replace
444
+ path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/scheduler/extraArgs/0 "
445
445
valueFrom :
446
446
template : |
447
447
name: v
@@ -456,14 +456,14 @@ spec:
456
456
matchResources :
457
457
controlPlane : true
458
458
jsonPatches :
459
- - op : add
460
- path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs/- "
459
+ - op : replace
460
+ path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs/0 "
461
461
valueFrom :
462
462
template : |
463
463
name: v
464
464
value: "{{ .kubeletLogLevel }}"
465
- - op : add
466
- path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs/- "
465
+ - op : replace
466
+ path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs/0 "
467
467
valueFrom :
468
468
template : |
469
469
name: v
@@ -480,8 +480,8 @@ spec:
480
480
names :
481
481
- ' *-worker'
482
482
jsonPatches :
483
- - op : add
484
- path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/- "
483
+ - op : replace
484
+ path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/0 "
485
485
valueFrom :
486
486
template : |
487
487
name: v
@@ -494,8 +494,8 @@ spec:
494
494
names :
495
495
- ' *-worker'
496
496
jsonPatches :
497
- - op : add
498
- path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/- "
497
+ - op : replace
498
+ path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/0 "
499
499
valueFrom :
500
500
template : |
501
501
name: v
0 commit comments