summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-15 16:05:20 +0100
committerJessica Wagantall <jwagantall@linuxfoundation.org>2021-02-16 17:31:25 +0000
commit4ea6907f73d7b43cc043b71b6e795cea77729137 (patch)
treea4d3801612aced3247a01d68004191e06222dbc1
parent8b66dedca8c8f924b7d1e2d4a002a93caca52afb (diff)
[OOM] move helm3 to helm3.5
As we'll have several versions of helm3, it's better to clearly state which version it is. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Idb439717133a7a0fd90d656f6e412d3233b9a04b
-rw-r--r--packer/provision/helm.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/packer/provision/helm.yaml b/packer/provision/helm.yaml
index d8d443750..59d0de2e4 100644
--- a/packer/provision/helm.yaml
+++ b/packer/provision/helm.yaml
@@ -57,9 +57,9 @@
- name: 'Move helm to /usr/local/bin and set as executable'
command: 'mv /tmp/helm3_3/linux-amd64/helm /usr/local/bin/helm3.3'
become: yes
- - name: 'Check helm3.'
- command: 'which helm3'
- - name: 'Check kubectl.'
+ - name: 'Check helm3.3'
+ command: 'which helm3.3'
+ - name: 'Check kubectl'
command: 'which kubectl'
- name: Install helm 3.3
@@ -71,37 +71,37 @@
which helm3.3
become: true
- - name: 'Install Helm3 {{helm3_version}}'
+ - name: 'Install Helm3.5 {{helm3_version}}'
block:
- name: create directory
file:
- path: /tmp/helm3
+ path: /tmp/helm3.5
state: directory
- name: 'Fetch tar.gz'
get_url:
url: "https://get.helm.sh/helm-v{{helm3_version}}-linux-amd64.tar.gz"
- dest: /tmp/helm3
+ dest: /tmp/helm3.5
- name: 'Unarchive'
unarchive:
- src: "/tmp/helm3/helm-v{{helm3_version}}-linux-amd64.tar.gz"
- dest: /tmp/helm3
+ src: "/tmp/helm3.5/helm-v{{helm3_version}}-linux-amd64.tar.gz"
+ dest: /tmp/helm3.5
remote_src: true
become: yes
- name: 'Move helm to /usr/local/bin and set as executable'
- command: 'mv /tmp/helm3/linux-amd64/helm /usr/local/bin/helm3'
+ command: 'mv /tmp/helm3/linux-amd64/helm /usr/local/bin/helm3.5'
become: yes
- - name: 'Check helm3.'
- command: 'which helm3'
- - name: 'Check kubectl.'
+ - name: 'Check helm3.5'
+ command: 'which helm3.5'
+ - name: 'Check kubectl'
command: 'which kubectl'
- - name: Install helm3
+ - name: Install helm3.5
shell: |
- echo "----> Installing helm3"
+ echo "----> Installing helm3.5"
wget 'https://get.helm.sh/helm-v{{helm3_version}}-linux-amd64.tar.gz'
tar -xvf 'https://get.helm.sh/helm-v{{helm3_version}}-linux-amd64.tar.gz'
- mv linux-amd64/helm /usr/local/bin/helm3
- which helm3
+ mv linux-amd64/helm /usr/local/bin/helm3.5
+ which helm3.5
become: true
- name: 'Install ChartMuseum {{chartmuseum_version}}'