Skip to content

Commit

Permalink
Merge pull request #82380 from robscott/endpointslice-e2e-tests
Browse files Browse the repository at this point in the history
Starting EndpointSlice Controller when all Alpha gates are enabled in cluster up
  • Loading branch information
k8s-ci-robot committed Sep 6, 2019
2 parents 397ed0e + dc0c81a commit 3a50184
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster/gce/config-default.sh
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cluster/gce/config-test.sh
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions cluster/gce/util.sh
Expand Up @@ -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
Expand Down

0 comments on commit 3a50184

Please sign in to comment.