From 7106a13dbc6ade1b0045cd8e6cac8b3cc84144ff Mon Sep 17 00:00:00 2001 From: josephthaliath Date: Tue, 21 Mar 2023 13:32:28 +0530 Subject: [PATCH] Fix for chart museum error Issue-Id: AIMLFW-36 Signed-off-by: josephthaliath Change-Id: I8beb59be80bfda8b5d8b6defdc4c33d50211b5d9 --- bin/install_common_templates_to_helm.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/install_common_templates_to_helm.sh b/bin/install_common_templates_to_helm.sh index c18dbc6..88e8c10 100755 --- a/bin/install_common_templates_to_helm.sh +++ b/bin/install_common_templates_to_helm.sh @@ -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/ <