From fda57ed90fc4c05844ac98212960a667bb9d01d8 Mon Sep 17 00:00:00 2001 From: yoonlight Date: Tue, 26 Apr 2022 23:43:46 +0900 Subject: [PATCH] feat(provision): add helm package --- Vagrantfile | 1 + script/helm.sh | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 script/helm.sh diff --git a/Vagrantfile b/Vagrantfile index 2fab68f..e73afce 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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| diff --git a/script/helm.sh b/script/helm.sh new file mode 100644 index 0000000..06b936d --- /dev/null +++ b/script/helm.sh @@ -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 \ No newline at end of file