mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
The --client flag was a Helm 2 concept for distinguishing client vs Tiller server versions. In Helm 3, there is no Tiller, so `helm version` already only shows the client version. The flag still works but prints a deprecation warning, adding unnecessary noise to CI output. Signed-off-by: Malik Draz <engineering@malikdraz.io>
12 lines
518 B
Bash
Executable file
12 lines
518 B
Bash
Executable file
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
. "$(dirname "$0")"/../tool-versions.sh
|
|
|
|
export TARGET_FILE=helm-v${helm3_version}-${INSTALL_OS}-${ARCHITECTURE}.tar.gz
|
|
|
|
[ -e "$DOWNLOADS/${TARGET_FILE}" ] || curl -sLf --retry 3 -o "$DOWNLOADS/${TARGET_FILE}" "https://get.helm.sh/helm-v${helm3_version}-$INSTALL_OS-$ARCHITECTURE.tar.gz"
|
|
"$(dirname "$0")"/compare-chksum.sh
|
|
mkdir -p /tmp/helm && tar -C /tmp/helm -xf "$DOWNLOADS/${TARGET_FILE}"
|
|
sudo install -m 0755 "/tmp/helm/$INSTALL_OS-$ARCHITECTURE/helm" "$BIN/helm"
|
|
helm version
|