Skip to content

Commit

Permalink
Merge pull request #3414 from nextcloud/enh/noid/adjust-kompose
Browse files Browse the repository at this point in the history
adjust kompose script to automatically get latest version
  • Loading branch information
szaimen authored Sep 27, 2023
2 parents 1ff0328 + f97644e commit ad81f52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nextcloud-aio-helm-chart/update-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ rm -f ./helm-chart/values.yaml
rm -rf ./helm-chart/templates

# Install kompose
LATEST_KOMPOSE="$(git ls-remote --tags https://github.com/kubernetes/kompose.git | cut -d/ -f3 | grep -viE -- 'rc|b' | sort -V | tail -1)"
curl -L https://github.com/kubernetes/kompose/releases/download/"$LATEST_KOMPOSE"/kompose-linux-amd64 -o kompose
curl -L https://github.com/kubernetes/kompose/releases/latest/download/kompose-linux-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose

Expand Down

0 comments on commit ad81f52

Please sign in to comment.