bug-fix: get k8s config 78/67078/1
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Sat, 15 Sep 2018 07:23:13 +0000 (15:23 +0800)
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Thu, 21 Feb 2019 12:28:05 +0000 (12:28 +0000)
commitdf0f60c3ef008bf555eb780f020475c79b627ab8
treed2b4facbd21eee777d8b01957a8b9be5c5392a74
parent302c1958a98a704fef7b47f37d1ce2fc0016ba95
bug-fix: get k8s config

JIRA: BOTTLENECK-243

Geting k8s config using sshpass will fail when frst time
loginning to k8s master. Add -o StrictHostKeyChecking=no
to input the prompt.

Change-Id: Ib9ab3617b6d50ab85be317faf715f751fcda9149
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
(cherry picked from commit d06192b9ff24020cc20f903d939714e2a09a86c2)
utils/k8s_setup/k8s_config_pre.sh