Always install the latest helm
* use "https://charts.helm.sh/stable" instead
of "https://kubernetes-charts.storage.googleapis.com/"
+
void CreateCluster(String CLUSTER_PREFIX) {
withCredentials([string(credentialsId: 'GCP_PROJECT_ID', variable: 'GCP_PROJECT'), file(credentialsId: 'gcloud-key-file', variable: 'CLIENT_SECRET_FILE')]) {
sh """
@@ -152,8 +153,7 @@ pipeline {
gcloud components install alpha
gcloud components install kubectl
- curl -s https://get.helm.sh/helm-v3.2.3-linux-amd64.tar.gz \
- | sudo tar -C /usr/local/bin --strip-components 1 -zvxpf -
+ curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
curl -s -L https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz \
| sudo tar -C /usr/local/bin --strip-components 1 --wildcards -zxvpf - '*/oc'
