Merge pull request #55207 from caesarxuchao/fix-local-up

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix kubeproxy in hack/local-up-cluster.sh

hack/local-up-cluster.sh was broken by https://github.com/kubernetes/kubernetes/pull/53645

Fixed it following instruction in https://github.com/kubernetes/kubernetes/pull/53645#issuecomment-342178172.

Thanks to @MrHohn who pointed me to the original PR, saving me another hour scratching my head.

@xiangpengzhao @luxas @ncdc
pull/6/head
Kubernetes Submit Queue 2017-11-06 23:49:52 -08:00 committed by GitHub
commit 3b4424ce8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ function start_kubeproxy {
PROXY_LOG=${LOG_DIR}/kube-proxy.log
cat <<EOF > /tmp/kube-proxy.yaml
apiVersion: componentconfig/v1alpha1
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
clientConnection:
kubeconfig: ${CERT_DIR}/kube-proxy.kubeconfig