Call installKubernetesClient when deploying k8s
Call installKubernetesClient after computes are installed
to deploy k8s resources.
Change-Id: I3b4222186c0c6f267842054e07b4d54dbb745b34
Related-Prod: PROD-27977
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 58d924a..1412a76 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -444,6 +444,7 @@
// Setup kubernetes addons for opencontrail. More info in the definition of the func.
orchestrate.setupKubeAddonForContrail(venvPepper, extra_tgt)
}
+ orchestrate.installKubernetesClient(venvPepper, extra_tgt)
extra_tgt = extra_tgt_bckp
}
@@ -465,7 +466,7 @@
writeFile(file: 'kubeconfig-kdt', text: salt.getFileContent(venvPepper, "I@kubernetes:master and *01* ${extra_tgt}", '/etc/kubernetes/admin-kube-config'))
archiveArtifacts(artifacts: 'kubeconfig-kdt')
}
-
+ orchestrate.installKubernetesClient(venvPepper, extra_tgt)
extra_tgt = extra_tgt_bckp
}