mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
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:
commit
3a50184421
@ -247,6 +247,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
|
|||||||
|
|
||||||
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
|
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
|
||||||
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
|
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
|
||||||
|
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional: set feature gates
|
# Optional: set feature gates
|
||||||
|
@ -136,6 +136,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}"
|
|||||||
|
|
||||||
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
|
if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then
|
||||||
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
|
RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}"
|
||||||
|
RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional: set feature gates
|
# Optional: set feature gates
|
||||||
|
@ -1284,6 +1284,11 @@ EOF
|
|||||||
if [ -n "${FEATURE_GATES:-}" ]; then
|
if [ -n "${FEATURE_GATES:-}" ]; then
|
||||||
cat >>$file <<EOF
|
cat >>$file <<EOF
|
||||||
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
|
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
if [ -n "${RUN_CONTROLLERS:-}" ]; then
|
||||||
|
cat >>$file <<EOF
|
||||||
|
RUN_CONTROLLERS: $(yaml-quote ${RUN_CONTROLLERS})
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [ -n "${PROVIDER_VARS:-}" ]; then
|
if [ -n "${PROVIDER_VARS:-}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user