Add configuration options to specify --detect-local-mode on kube-proxy.

This commit is contained in:
Rahul Joshi
2020-06-04 10:32:53 -07:00
parent ededd08ba1
commit 889446810c
4 changed files with 10 additions and 0 deletions

View File

@@ -1650,6 +1650,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=""