diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index 3ed5b83e127..2b09250ea34 100755 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -2241,6 +2241,9 @@ function start-kube-controller-manager { if [[ -n "${FEATURE_GATES:-}" ]]; then params+=("--feature-gates=${FEATURE_GATES}") fi + if [[ -n "${KUBE_EMULATED_VERSION:-}" ]]; then + params+=("--emulated-version=kube=${KUBE_EMULATED_VERSION}") + fi if [[ -n "${VOLUME_PLUGIN_DIR:-}" ]]; then params+=("--flex-volume-plugin-dir=${VOLUME_PLUGIN_DIR}") fi @@ -2454,6 +2457,9 @@ function start-kube-scheduler { if [[ -n "${FEATURE_GATES:-}" ]]; then params+=("--feature-gates=${FEATURE_GATES}") fi + if [[ -n "${KUBE_EMULATED_VERSION:-}" ]]; then + params+=("--emulated-version=kube=${KUBE_EMULATED_VERSION}") + fi # Scheduler Component Config takes precedence over some flags. if [[ -n "${KUBE_SCHEDULER_CONFIG:-}" ]]; then