diff --git a/scripts/update-helm-repos.sh b/scripts/update-helm-repos.sh index 48efd0e..a33f624 100755 --- a/scripts/update-helm-repos.sh +++ b/scripts/update-helm-repos.sh @@ -10,9 +10,10 @@ repos=( "anchore=https://charts.anchore.io" ) -for i in $repos; do +for i in ${repos[@]}; do IFS="=" set $i helm repo add $1 $2 done +helm repo update