diff --git a/bin/ibmcloud_login.sh b/bin/ibmcloud_login.sh index d229138..7801e22 100644 --- a/bin/ibmcloud_login.sh +++ b/bin/ibmcloud_login.sh @@ -39,17 +39,14 @@ function configureCluster() { ibmcloud login -r ${REGION} --apikey ${IBM_CLOUD_API_KEY} - ibmcloud ks cluster-config --cluster ${CLUSTER_NAME} + ibmcloud ks cluster config --cluster ${CLUSTER_NAME} local homeDir="home" if [[ -z ${TRAVIS+x} ]]; then homeDir="Users" fi - - echo "Exporting KUBECONFIG=/${homeDir}/${USER}/.bluemix/plugins/container-service/clusters/${CLUSTER_NAME}/kube-config-${DATA_CENTER}-${CLUSTER_NAME}.yml" - export KUBECONFIG=/${homeDir}/${USER}/.bluemix/plugins/container-service/clusters/${CLUSTER_NAME}/kube-config-${DATA_CENTER}-${CLUSTER_NAME}.yml } # Execute checkEnv -configureCluster \ No newline at end of file +configureCluster