Update fetch_helm_deps.sh

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2023-12-05 19:57:48 +01:00 committed by GitHub
parent f696f5b102
commit 0e84404e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ for idx in $(eval echo "{0..$length}"); do
# tmp hotpatch for cert-manager
if [[ ! "$dep_url" == "https"* ]]; then
dep_url="https://charts.jetstack.io/${dep_url}"
if [[ "$name" =~ "cert-manager" ]]; then
dep_url="https://charts.jetstack.io/${dep_url}"
fi
fi
echo ""