mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #96028 from masap/local_up_cluster2
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
This commit is contained in:
commit
26f09b77a8
@ -872,6 +872,10 @@ EOF
|
||||
parse_feature_gates "${FEATURE_GATES}"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user