Signed-off-by: Taewan Kim <t25.kim@samsung.com>
Change-Id: I7fc23109fc68796888eb0a6cbe1813083e811c39
echo "Installing servecm (Chart Manager) and common templates to helm3"
helm plugin install https://github.com/jdolitsky/helm-servecm
- eval $(helm env | grep HELM_REPOSITORY_CACHE)
- echo ${HELM_REPOSITORY_CACHE}
else
echo "Found servecm in the helm plugin list. Skip servecm installation."
fi
chmod +x ./linux-386/chartmuseum
sudo cp ./linux-386/chartmuseum /usr/local/bin
+eval $(helm env | grep HELM_REPOSITORY_CACHE)
+echo ${HELM_REPOSITORY_CACHE}
helm servecm --port=8879 --context-path=/charts --storage local --storage-local-rootdir $HELM_REPOSITORY_CACHE/local/ <<EOF &
yes
EOF