Merge pull request #91788 from rahulkjoshi/detect-local-mode

Add option to specify detect-local-mode during cluster configuration
This commit is contained in:
Kubernetes Prow Robot
2020-10-26 10:25:02 -07:00
committed by GitHub
4 changed files with 10 additions and 0 deletions

View File

@@ -1657,6 +1657,9 @@ function prepare-kube-proxy-manifest-variables {
if [[ -n "${KUBEPROXY_TEST_ARGS:-}" ]]; then
params+=" ${KUBEPROXY_TEST_ARGS}"
fi
if [[ -n "${DETECT_LOCAL_MODE:-}" ]]; then
params+=" --detect-local-mode=${DETECT_LOCAL_MODE}"
fi
local container_env=""
local kube_cache_mutation_detector_env_name=""
local kube_cache_mutation_detector_env_value=""