mirror of
https://github.com/rancher/rke.git
synced 2025-07-02 02:03:07 +00:00
Use internal address with local backup download
This commit is contained in:
parent
64fed4bd9b
commit
65cda9f50d
@ -548,7 +548,7 @@ func DownloadEtcdSnapshotFromBackupServer(ctx context.Context, etcdHost *hosts.H
|
|||||||
"etcd-backup",
|
"etcd-backup",
|
||||||
"download",
|
"download",
|
||||||
"--name", name,
|
"--name", name,
|
||||||
"--local-endpoint", backupServer.Address,
|
"--local-endpoint", backupServer.InternalAddress,
|
||||||
"--cacert", pki.GetCertPath(pki.CACertName),
|
"--cacert", pki.GetCertPath(pki.CACertName),
|
||||||
"--cert", pki.GetCertPath(pki.KubeNodeCertName),
|
"--cert", pki.GetCertPath(pki.KubeNodeCertName),
|
||||||
"--key", pki.GetKeyPath(pki.KubeNodeCertName),
|
"--key", pki.GetKeyPath(pki.KubeNodeCertName),
|
||||||
|
Loading…
Reference in New Issue
Block a user