summaryrefslogtreecommitdiffstats
path: root/packer/provision/helm.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2023-03-29 12:13:46 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2023-03-29 12:24:15 -0700
commit4a9ebfc88483d1ae7e80976aa6917b9cb044ab65 (patch)
treef484d4effce59397e23e6bd9be4433d5419ac297 /packer/provision/helm.yaml
parent6b89f0707b6b4470ceffc22b3d69fa29374e864f (diff)
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
Diffstat (limited to 'packer/provision/helm.yaml')
-rw-r--r--packer/provision/helm.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/packer/provision/helm.yaml b/packer/provision/helm.yaml
index 7173e98f4..aa4e41125 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'