Skip to content

Commit

Permalink
Merge pull request kubernetes#125742 from siyuanfoundation/api-comp-ver1
Browse files Browse the repository at this point in the history
Add KUBE_EMULATED_VERSION env variable to set the emulated-version of apiserver
  • Loading branch information
k8s-ci-robot committed Jun 27, 2024
2 parents 905fdda + 126a47d commit 4805074
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/gce/gci/configure-kubeapiserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ function start-kube-apiserver {
if [[ -n "${FEATURE_GATES:-}" ]]; then
params+=" --feature-gates=${FEATURE_GATES}"
fi
if [[ -n "${KUBE_EMULATED_VERSION:-}" ]]; then
params+=" --emulated-version=kube=${KUBE_EMULATED_VERSION}"
fi
if [[ -n "${MASTER_ADVERTISE_ADDRESS:-}" ]]; then
params+=" --advertise-address=${MASTER_ADVERTISE_ADDRESS}"
elif [[ -n "${PROJECT_ID:-}" && -n "${TOKEN_URL:-}" && -n "${TOKEN_BODY:-}" && -n "${NODE_NETWORK:-}" ]]; then
Expand Down

0 comments on commit 4805074

Please sign in to comment.