mirror of https://github.com/k3s-io/k3s
Fix an else branch in configure-helper.sh.
parent
ddf5888da4
commit
60dbfc9a71
|
@ -804,7 +804,7 @@ function start-kube-apiserver {
|
|||
params+=" --advertise-address=${vm_external_ip}"
|
||||
params+=" --ssh-user=${PROXY_SSH_USER}"
|
||||
params+=" --ssh-keyfile=/etc/srv/sshproxy/.sshkeyfile"
|
||||
else [ -n "${MASTER_ADVERTISE_ADDRESS:-}" ]
|
||||
elif [ -n "${MASTER_ADVERTISE_ADDRESS:-}" ]; then
|
||||
params="${params} --advertise-address=${MASTER_ADVERTISE_ADDRESS}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue