Skip to content

Commit 3a50184

Browse files
authored
Merge pull request kubernetes#82380 from robscott/endpointslice-e2e-tests
Starting EndpointSlice Controller when all Alpha gates are enabled in cluster up
2 parents 397ed0e + dc0c81a commit 3a50184

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
@@ -1284,6 +1284,11 @@ EOF
12841284
if [ -n "${FEATURE_GATES:-}" ]; then
12851285
cat >>$file <<EOF
12861286
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
1287+
EOF
1288+
fi
1289+
if [ -n "${RUN_CONTROLLERS:-}" ]; then
1290+
cat >>$file <<EOF
1291+
RUN_CONTROLLERS: $(yaml-quote ${RUN_CONTROLLERS})
12871292
EOF
12881293
fi
12891294
if [ -n "${PROVIDER_VARS:-}" ]; then

0 commit comments

Comments
 (0)