Fix feature_gate plumbing in gci configure-helper.sh

This commit is contained in:
Jeff Lowdermilk
2016-08-22 15:34:44 -07:00
parent f3329b7bae
commit 5def8f674a

View File

@@ -504,7 +504,7 @@ function start-kubelet {
flags+=" --configure-cbr0=${ALLOCATE_NODE_CIDRS}"
fi
if [[ -n "${FEATURE_GATES:-}" ]]; then
flags+=" --feature-gates=${feature_gates}"
flags+=" --feature-gates=${FEATURE_GATES}"
fi
echo "KUBELET_OPTS=\"${flags}\"" > /etc/default/kubelet