Modified script to fix bug for nginx deployment 82/882/1
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 29 May 2019 08:30:13 +0000 (08:30 +0000)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 29 May 2019 08:33:07 +0000 (08:33 +0000)
Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I4dfbeeb88b2afcf3f39634bb29f84fcade298a03

scripts/verifyk8s.sh

index 7b0f52c..08fb3a9 100755 (executable)
@@ -38,7 +38,7 @@ EOF
 
 #check if nginx is already deployed
 if ! kubectl get pods | grep nginx; then
-  kubectl create -f testk8s-nginx.yaml
+  kubectl create -f ~/testk8s-nginx.yaml
 fi
 
 #To check whether the deployment is succesesfull