Install helm from github latest release not snap.
This commit is contained in:
10
setup.org
10
setup.org
@ -43,13 +43,15 @@ sudo apt update && sudo apt --yes install podman
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
When working with kubernetes applications we often use [[https://helm.sh][helm]], unfortunately we need an extra ~apt~ repository for this so let's add that now and install.
|
When working with kubernetes applications we often use [[https://helm.sh][helm]], let's download and install the latest release from github.
|
||||||
|
|
||||||
#+NAME: Install helm
|
#+NAME: Install helm
|
||||||
#+BEGIN_src tmux
|
#+BEGIN_src tmux
|
||||||
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
|
wget $(sed 's/.\{1\}$//' <<< $(curl -s https://api.github.com/repos/helm/helm/releases/latest | grep -oP 'https...get.helm.sh.helm-v\d+.\d+.\d+-linux-amd64.tar.gz[)]'))
|
||||||
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
|
|
||||||
sudo apt-get update && sudo apt install -y helm
|
tar xf helm*.tar.gz linux-amd64/helm --transform 's,linux-amd64,,' && rm -rf helm-*linux-amd64.tar.gz
|
||||||
|
|
||||||
|
sudo mv helm /usr/local/bin/helm
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user