stdlib: helm: fix chart repository

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-06-08 15:49:36 -07:00
parent db0937c927
commit 22329e3a4d
4 changed files with 11 additions and 5 deletions

View File

@@ -2,8 +2,10 @@ package helm
#code: #"""
# Add the repository
helm repo add repository "${HELM_REPO}"
helm repo update
if [ -n "$HELM_REPO" ]; then
helm repo add repository "${HELM_REPO}"
helm repo update
fi
# If the chart is a file, then it's the chart name
# If it's a directly, then it's the contents of the cart