Fix for chart museum error 51/10751/1
authorjosephthaliath <jo.thaliath@samsung.com>
Tue, 21 Mar 2023 08:02:28 +0000 (13:32 +0530)
committerjosephthaliath <jo.thaliath@samsung.com>
Tue, 21 Mar 2023 08:04:54 +0000 (13:34 +0530)
Issue-Id: AIMLFW-36

Signed-off-by: josephthaliath <jo.thaliath@samsung.com>
Change-Id: I8beb59be80bfda8b5d8b6defdc4c33d50211b5d9

bin/install_common_templates_to_helm.sh

index c18dbc6..88e8c10 100755 (executable)
@@ -24,6 +24,12 @@ helm plugin install https://github.com/jdolitsky/helm-servecm
 eval $(helm env |grep HELM_REPOSITORY_CACHE) 
 echo ${HELM_REPOSITORY_CACHE}
 
+#The hardcoded location does not work anymore, Reference: change similar to RIC-966 updating chartmuseum and docker refs
+curl -LO https://get.helm.sh/chartmuseum-v0.15.0-linux-386.tar.gz
+tar xzvf chartmuseum-v0.15.0-linux-386.tar.gz
+chmod +x ./linux-386/chartmuseum
+cp ./linux-386/chartmuseum /usr/local/bin
+
 helm servecm --port=8879 --context-path=/charts --storage local --storage-local-rootdir $HELM_REPOSITORY_CACHE/local/ <<EOF &
 yes
 EOF