summaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2022-04-19 10:09:40 +0100
committerefiacor <fiachra.corcoran@est.tech>2022-04-19 10:09:47 +0100
commita74e391c5ff155b7d1e093f1e618008715caaedf (patch)
treebd7a82fde9a261bb564600d5fb28a199bebff429 /packer/provision
parent5c00cf67f8145a5b36e2c7b5e8b3f24a6f53e049 (diff)
[HELM] Fix helm 3.6 packer job
Change-Id: Ib7816d07671cf87e78bb0c91e653838dd2a9e30c Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: OOM-2962
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/helm.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/packer/provision/helm.yaml b/packer/provision/helm.yaml
index 1c7867196..46b925836 100644
--- a/packer/provision/helm.yaml
+++ b/packer/provision/helm.yaml
@@ -19,24 +19,24 @@
mode: 0775
become: yes
- - name: 'Install Helm 3.6 {{helm3_6_version}}'
+ - name: 'Install Helm3.6 {{helm3_6_version}}'
block:
- - name: 'Create directory /tmp/helm3_6'
+ - name: 'Create directory /tmp/helm3.6'
file:
- path: /tmp/helm3_6
+ path: /tmp/helm3.6
state: directory
- name: 'Fetch tar.gz for Helm 3.6'
get_url:
url: "https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz"
- dest: /tmp/helm3_6
+ dest: /tmp/helm3.6
- name: 'Unarchive Helm 3.6'
unarchive:
- src: "/tmp/helm3_6/helm-v{{helm3_6_version}}-linux-amd64.tar.gz"
- dest: /tmp/helm3_6
+ src: "/tmp/helm3.6/helm-v{{helm3_6_version}}-linux-amd64.tar.gz"
+ dest: /tmp/helm3.6
remote_src: true
become: yes
- name: 'Move Helm 3.6 bin to /usr/local/bin and set as executable'
- command: 'mv /tmp/helm3_6/linux-amd64/helm /usr/local/bin/helm3.6'
+ command: 'mv /tmp/helm3.6/linux-amd64/helm /usr/local/bin/helm3.6'
become: yes
- name: 'Check Helm 3.6'
command: 'which helm3.6'
@@ -45,7 +45,7 @@
- name: 'Install Helm 3.6'
shell: |
- echo "----> Installing helm 3.6"
+ echo "----> Installing helm3.6"
wget 'https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz'
tar -xvf 'https://get.helm.sh/helm-v{{helm3_6_version}}-linux-amd64.tar.gz'
mv linux-amd64/helm /usr/local/bin/helm3.6