Fixing helmreposcript
Change-Id: I99c2b757c1c97848f438d302fbe068d36bb6e75b
diff --git a/helmrepo.sh b/helmrepo.sh
index 3820124..fa78e49 100755
--- a/helmrepo.sh
+++ b/helmrepo.sh
@@ -27,6 +27,8 @@
GERRIT_BRANCH="${GERRIT_BRANCH:-$(git symbolic-ref --short HEAD)}"
PUBLISH_URL="${PUBLISH_URL:-https://charts.opencord.org}"
+ORIGINAL_INDEX_YAML="${ORIGINAL_INDEX_YAML:-/var/www/charts/index.yaml}"
+
mkdir -p "${REPO_DIR}"
while IFS= read -r -d '' chart
@@ -41,7 +43,7 @@
echo "Generating repo index"
-helm repo index "${REPO_DIR}" --url "${PUBLISH_URL}" --merge index.yaml
+helm repo index "${REPO_DIR}" --url "${PUBLISH_URL}" --merge "${ORIGINAL_INDEX_YAML}
echo "Finished, chart repo generated: ${REPO_DIR}"