Fix: Upgrade and fix Chartmuseum bin
Download and install latest chartmuseum bin from
https://github.com/helm/chartmuseum/releases
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I4480f28e274357924bc412017bd05c1aecba00ad
diff --git a/packer/provision/helm.yaml b/packer/provision/helm.yaml
index 7173e98..aa4e411 100644
--- a/packer/provision/helm.yaml
+++ b/packer/provision/helm.yaml
@@ -8,7 +8,7 @@
vars:
kubectl_version: 1.23.8
helm3_8_version: 3.8.2
- chartmuseum_version: 0.12.0
+ chartmuseum_version: 0.15.0
tasks:
- name: 'Install kubectl {{kubectl_version}}'
@@ -55,10 +55,11 @@
- name: 'Install ChartMuseum {{chartmuseum_version}}'
block:
- name: 'Fetch bin for ChartMuseum'
- get_url:
- url: "https://s3.amazonaws.com/chartmuseum/release/v{{ chartmuseum_version }}/bin/linux/amd64/chartmuseum"
- dest: /usr/local/bin/chartmuseum
+ unarchive:
+ src: "https://get.helm.sh/chartmuseum-v{{ chartmuseum_version }}-linux-amd64.tar.gz"
+ dest: /usr/local/bin
mode: "0755"
+ remote_src: yes
become: yes
- name: 'Check ChartMuseum {{chartmuseum_version}}'
command: 'which chartmuseum'