mirror of https://github.com/k3s-io/k3s
fix parameter advertise_address should be --advertise-address
parent
480327eafe
commit
a264991dfe
|
@ -496,10 +496,10 @@ function start_apiserver {
|
|||
# is set to 127.0.0.1
|
||||
advertise_address=""
|
||||
if [[ "${API_HOST_IP}" != "127.0.0.1" ]]; then
|
||||
advertise_address="--advertise_address=${API_HOST_IP}"
|
||||
advertise_address="--advertise-address=${API_HOST_IP}"
|
||||
fi
|
||||
if [[ "${ADVERTISE_ADDRESS}" != "" ]] ; then
|
||||
advertise_address="--advertise_address=${ADVERTISE_ADDRESS}"
|
||||
advertise_address="--advertise-address=${ADVERTISE_ADDRESS}"
|
||||
fi
|
||||
|
||||
# Create CA signers
|
||||
|
|
Loading…
Reference in New Issue