File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
test/e2e/data/infrastructure-docker/main Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -480,6 +480,20 @@ spec:
480
480
path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/v"
481
481
valueFrom :
482
482
variable : kubeletLogLevel
483
+ - name : kubeadmFeatureGate
484
+ description : " Sets the ControlPlaneKubeletLocalMode feature gate for Kubernetes >= 1.31"
485
+ definitions :
486
+ - selector :
487
+ apiVersion : controlplane.cluster.x-k8s.io/v1beta1
488
+ kind : KubeadmControlPlaneTemplate
489
+ matchResources :
490
+ controlPlane : true
491
+ jsonPatches :
492
+ - op : add
493
+ path : " /spec/template/spec/kubeadmConfigSpec/clusterConfiguration/featureGates"
494
+ value :
495
+ ControlPlaneKubeletLocalMode : true
496
+ enabledIf : ' {{ semverCompare ">= v1.31.0-0" .builtin.controlPlane.version }}'
483
497
---
484
498
apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
485
499
kind : DockerClusterTemplate
You can’t perform that action at this time.
0 commit comments