mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
commit
25352c56d9
@ -26,6 +26,9 @@ if [ ! -x $CLOUDCFG ]; then
|
||||
fi
|
||||
|
||||
detect-master > /dev/null
|
||||
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
|
||||
if [ "$KUBE_MASTER_IP" != "" ] && [ "$KUBERNETES_MASTER" == "" ]; then
|
||||
echo "Setting master to: https://${KUBE_MASTER_IP}"
|
||||
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
|
||||
fi
|
||||
|
||||
$CLOUDCFG $@
|
||||
|
Loading…
Reference in New Issue
Block a user