mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #72989 from mbrannock/kubemark-apiserver-args
Append kubemark apiserver args after defaults
This commit is contained in:
commit
3be5e73eff
@ -487,8 +487,7 @@ function compute-etcd-events-params {
|
||||
|
||||
# Computes command line arguments to be passed to apiserver.
|
||||
function compute-kube-apiserver-params {
|
||||
local params="${APISERVER_TEST_ARGS:-}"
|
||||
params+=" --insecure-bind-address=0.0.0.0"
|
||||
local params="--insecure-bind-address=0.0.0.0"
|
||||
params+=" --etcd-servers=${ETCD_SERVERS:-http://127.0.0.1:2379}"
|
||||
if [[ -z "${ETCD_SERVERS:-}" ]]; then
|
||||
params+=" --etcd-servers-overrides=${ETCD_SERVERS_OVERRIDES:-/events#${EVENT_STORE_URL}}"
|
||||
@ -549,6 +548,9 @@ function compute-kube-apiserver-params {
|
||||
params+=" --audit-log-maxbackup=0"
|
||||
params+=" --audit-log-maxsize=2000000000"
|
||||
fi
|
||||
# Append APISERVER_TEST_ARGS to the end, which will allow for
|
||||
# the above defaults to be overridden.
|
||||
params+=" ${APISERVER_TEST_ARGS:-}"
|
||||
echo "${params}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user