Skip to content

Commit dc0c81a

Browse files
committed
Ensuring endpointslice controller starts up as part of cluster up when all alpha feature gates are enabled
1 parent 100608f commit dc0c81a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

cluster/gce/config-default.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
247247

248248
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
249249
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
250+
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
250251
fi
251252

252253
# Optional: set feature gates

cluster/gce/config-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
136136

137137
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
138138
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
139+
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
139140
fi
140141

141142
# Optional: set feature gates

cluster/gce/util.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,11 @@ EOF
12831283
if [ -n "${FEATURE_GATES:-}" ]; then
12841284
cat >>$file <<EOF
12851285
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
1286+
EOF
1287+
fi
1288+
if [ -n "${RUN_CONTROLLERS:-}" ]; then
1289+
cat >>$file <<EOF
1290+
RUN_CONTROLLERS: $(yaml-quote ${RUN_CONTROLLERS})
12861291
EOF
12871292
fi
12881293
if [ -n "${PROVIDER_VARS:-}" ]; then

0 commit comments

Comments
 (0)