GKE bootstrap script doesn't properly work with Helm 3.x
Summary
When running a GKE bootstrap script with Helm 3.x installed, we have an error during installation:
Error: unknown flag: --wait
This happens due to https://gitlab.com/gitlab-org/charts/gitlab/blob/master/scripts/gke_bootstrap_script.sh#L84. In Helm 3.0 init
command was removed
If we comment this row, we will have a following error:
Error: no repositories found. You must add one before updating
To fix this, we need to run:
helm repo add stable https://kubernetes-charts.storage.googleapis.com
Current behavior
Running a script results in an error
Expected behavior
Script should successfully create a GKE cluster
Versions
- Chart: latest
- Platform:
- Cloud: GKE
- Kubernetes: (
kubectl version
)- Client: 1.17.3
- Server: 1.14.10
- Helm: (
helm version
)- Client: 3.1.1
- Server: 3.1.1
Edited by Muhamed Huseinbašić