improve target for kubeconfig loading
Change-Id: I4b538ae738ef9e40b6017bc048ce9a6fa56ba5c5
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index f2e34ae..6cc6fbd 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -292,7 +292,7 @@
orchestrate.installKubernetesControl(saltMaster)
// collect artifacts (kubeconfig)
- writeFile(file: 'kubeconfig', text: salt.getFileContent(saltMaster, 'I@kubernetes:master', '/etc/kubernetes/admin-kube-config'))
+ writeFile(file: 'kubeconfig', text: salt.getFileContent(saltMaster, 'I@kubernetes:master and *01*', '/etc/kubernetes/admin-kube-config'))
archiveArtifacts(artifacts: 'kubeconfig')
}