From eeb643dd9ea9486a7792a172a041db2d51cacc55 Mon Sep 17 00:00:00 2001 From: Rohit Ramkumar Date: Mon, 6 Nov 2017 12:30:42 -0800 Subject: [PATCH] Added logic for custom kube proxy yaml for GKE --- cluster/gce/container-linux/configure-helper.sh | 7 +++++++ cluster/gce/gci/configure-helper.sh | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/cluster/gce/container-linux/configure-helper.sh b/cluster/gce/container-linux/configure-helper.sh index c5e15369cb3..ac54e662f3f 100755 --- a/cluster/gce/container-linux/configure-helper.sh +++ b/cluster/gce/container-linux/configure-helper.sh @@ -1241,6 +1241,13 @@ function start-kube-addons { # Set up manifests of other addons. if [[ "${KUBE_PROXY_DAEMONSET:-}" == "true" ]]; then + if [ -n "${CUSTOM_KUBE_PROXY_YAML:-}" ]; then + # Replace with custom GKE kube proxy. + cat > "$src_dir/kube-proxy/kube-proxy-ds.yaml" < "$src_dir/kube-proxy/kube-proxy-ds.yaml" <