mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-12 04:51:11 +00:00
10 lines
No EOL
473 B
Bash
Executable file
10 lines
No EOL
473 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
readonly HELM_URL=https://storage.googleapis.com/kubernetes-helm
|
|
readonly HELM_TARBALL="helm-${HELM_VERSION}-linux-amd64.tar.gz"
|
|
readonly STABLE_REPO_URL=https://charts.helm.sh/stable
|
|
readonly INCUBATOR_REPO_URL=https://charts.helm.sh/incubator
|
|
curl -s "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz" | tar -C /tmp -xz
|
|
sudo mv /tmp/linux-amd64/helm /usr/bin/helm
|
|
helm init --client-only
|
|
helm repo add incubator "$INCUBATOR_REPO_URL" |