From ad421b95674fc4a614b03ab7b386dcd041eb976f Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Tue, 13 Feb 2018 14:09:40 +0100 Subject: [PATCH] Support feature-gate config for kubelet --- templates/worker.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/worker.yaml b/templates/worker.yaml index a228afc..6f881f0 100644 --- a/templates/worker.yaml +++ b/templates/worker.yaml @@ -19,6 +19,11 @@ Parameters: Type: String Default: "" + FeatureGates: + Description: Feature Gates for kubelet + Type: String + Default: "" + WorkerInstanceType: Description: EC2 instance type for controller nodes. Type: String @@ -86,6 +91,7 @@ Mappings: --cluster-dns=10.96.0.10 \ --cluster-domain=${KUBELET_CLUSTER_DOMAIN} \ --register-with-taints=${KUBELET_TAINTS} \ + --feature-gates=${KUBELET_FEATURE_GATES} \ --allow-privileged ExecStop=-/usr/bin/rkt stop --uuid-file=/var/run/kubelet-pod.uuid [Install] @@ -291,9 +297,11 @@ Resources: KUBELET_API_SERVERS=api.${DomainName} KUBELET_CLUSTER_DOMAIN=${DomainName} KUBELET_TAINTS=${Taints} + KUBELET_FEATURE_GATES=${FeatureGates} - KubeletImageTag: !Ref KubeletImageTag DomainName: !Ref DomainName Taints: !Ref Taints + FeatureGates: !Ref FeatureGates cloudProviderConfig: Fn::Base64: Fn::Sub: