Skip to content

Commit

Permalink
feat(provision): add helm package
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonlight committed Apr 26, 2022
1 parent 896570a commit fda57ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Vagrant.configure("2") do |config|
master.vm.hostname = "master"
master.vm.network "private_network", ip: "192.167.33.100"
master.vm.provision "shell", inline: $k8s_master
master.vm.provision "helm", type: "shell", path: "script/helm.sh"
end

(1..3).each do |i|
Expand Down
8 changes: 8 additions & 0 deletions script/helm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
# https://helm.sh/docs/intro/install/

curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
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-get install helm

0 comments on commit fda57ed

Please sign in to comment.