local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
This patch fixes the local-up-cluster.sh to pass CLUSTER_CIDR to kube-proxy. Previously, CLUSTER_CIDR was passed only to controller manager and cloud controller manager.
This commit is contained in:
		| @@ -852,6 +852,10 @@ EOF | ||||
|       done | ||||
|     fi >>/tmp/kube-proxy.yaml | ||||
|  | ||||
|     if [[ "${NET_PLUGIN}" == "kubenet" && -n ${CLUSTER_CIDR} ]]; then | ||||
|         echo "clusterCIDR: \"${CLUSTER_CIDR}\"" >> /tmp/kube-proxy.yaml | ||||
|     fi | ||||
|  | ||||
|     if [[ "${REUSE_CERTS}" != true ]]; then | ||||
|         generate_kubeproxy_certs | ||||
|     fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Masashi Honma
					Masashi Honma