1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-01 09:42:07 +00:00

Use internal address with local backup download

This commit is contained in:
galal-hussein 2019-03-09 21:13:45 +02:00 committed by Alena Prokharchyk
parent 64fed4bd9b
commit 65cda9f50d

View File

@ -548,7 +548,7 @@ func DownloadEtcdSnapshotFromBackupServer(ctx context.Context, etcdHost *hosts.H
"etcd-backup",
"download",
"--name", name,
"--local-endpoint", backupServer.Address,
"--local-endpoint", backupServer.InternalAddress,
"--cacert", pki.GetCertPath(pki.CACertName),
"--cert", pki.GetCertPath(pki.KubeNodeCertName),
"--key", pki.GetKeyPath(pki.KubeNodeCertName),