mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* chore: update Helm and Kustomize versions Signed-off-by: Michael Crenshaw <[email protected]> * remove v from kustomize version Signed-off-by: Michael Crenshaw <[email protected]> * DRY Signed-off-by: Michael Crenshaw <[email protected]> * Helm 3.10.0 Signed-off-by: Michael Crenshaw <[email protected]> * update tool-versions.sh Signed-off-by: Michael Crenshaw <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]>
16 lines
449 B
Bash
Executable File
16 lines
449 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Usage: ./add-kustomize-checksums.sh 4.5.7 # use the desired version
|
|
|
|
set -e
|
|
|
|
wget "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv$1/checksums.txt"
|
|
|
|
while IFS="" read -r line || [ -n "$line" ]
|
|
do
|
|
filename=$(echo "$line" | awk -F ' ' '{print $2}' | sed "s#v$1#$1#")
|
|
test "${line#*windows}" == "$line" && echo "$line" | sed "s#v$1#$1#" > "$filename.sha256"
|
|
done < checksums.txt
|
|
|
|
rm checksums.txt
|