From: Gary Wu Date: Tue, 14 May 2019 15:10:00 +0000 (-0700) Subject: Specify ssh key when copying kubeconfig file X-Git-Tag: 4.0.0-ONAP~98 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F87688%2F1;p=integration.git Specify ssh key when copying kubeconfig file Change-Id: Icb5b0abef6723c14812771ddb9ad3c2a0ab96518 Issue-ID: INT-1075 Signed-off-by: Gary Wu --- diff --git a/deployment/heat/onap-rke/scripts/deploy.sh b/deployment/heat/onap-rke/scripts/deploy.sh index 7e8bdf76f..e4e7d18df 100755 --- a/deployment/heat/onap-rke/scripts/deploy.sh +++ b/deployment/heat/onap-rke/scripts/deploy.sh @@ -266,7 +266,7 @@ until ./rke up; do ./rke remove done -scp ./kube_config_cluster.yml root@$RANCHER_IP:/root/.kube/config +scp -i $SSH_KEY ./kube_config_cluster.yml root@$RANCHER_IP:/root/.kube/config popd