Merge pull request #82380 from robscott/endpointslice-e2e-tests

Starting EndpointSlice Controller when all Alpha gates are enabled in cluster up
This commit is contained in:
Kubernetes Prow Robot 2019-09-05 17:54:57 -07:00 committed by GitHub
commit 3a50184421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -247,6 +247,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
fi
# Optional: set feature gates

View File

@ -136,6 +136,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
fi
# Optional: set feature gates

View File

@ -1284,6 +1284,11 @@ EOF
if [ -n "${FEATURE_GATES:-}" ]; then
cat >>$file <<EOF
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
EOF
fi
if [ -n "${RUN_CONTROLLERS:-}" ]; then
cat >>$file <<EOF
RUN_CONTROLLERS: $(yaml-quote ${RUN_CONTROLLERS})
EOF
fi
if [ -n "${PROVIDER_VARS:-}" ]; then