1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-14 14:09:49 +00:00

renamed ControlPlaneIP

This commit is contained in:
moelsayed
2017-11-02 11:27:26 +02:00
committed by galal-hussein
parent 1bb4ab98c3
commit dbc7dfaafe
6 changed files with 22 additions and 22 deletions

View File

@@ -39,7 +39,7 @@ func buildKubeAPIConfig(host hosts.Host, kubeAPIService KubeAPI, etcdConnString
"--runtime-config=authentication.k8s.io/v1beta1=true",
"--storage-backend=etcd3",
"--etcd-servers=" + etcdConnString,
"--advertise-address=" + host.ControlPlaneIP,
"--advertise-address=" + host.AdvertiseAddress,
"--client-ca-file=" + pki.CACertPath,
"--tls-cert-file=" + pki.KubeAPICertPath,
"--tls-private-key-file=" + pki.KubeAPIKeyPath,