Merge pull request #46149 from cjcullen/logtoggle

Automatic merge from submit-queue

Allow the /logs handler on the apiserver to be toggled.

Adds a flag to kube-apiserver, and plumbs through en environment variable in configure-helper.sh
This commit is contained in:
Kubernetes Submit Queue
2017-05-23 15:19:08 -07:00
committed by GitHub
5 changed files with 17 additions and 3 deletions

View File

@@ -848,6 +848,10 @@ function start-kube-apiserver {
params+=" --audit-log-maxsize=2000000000"
fi
if [[ "${ENABLE_APISERVER_LOGS_HANDLER:-}" == "false" ]]; then
params+=" --enable-logs-handler=false"
fi
local admission_controller_config_mount=""
local admission_controller_config_volume=""
local image_policy_webhook_config_mount=""

View File

@@ -1061,6 +1061,10 @@ function start-kube-apiserver {
params+=" --audit-log-maxsize=2000000000"
fi
if [[ "${ENABLE_APISERVER_LOGS_HANDLER:-}" == "false" ]]; then
params+=" --enable-logs-handler=false"
fi
local admission_controller_config_mount=""
local admission_controller_config_volume=""
local image_policy_webhook_config_mount=""