|
|
|
@ -51,6 +51,7 @@ helm_repos="$(helm repo list -o yaml | yq -r '.[] | [.name, .url] | @tsv' || :)"
|
|
|
|
|
|
|
|
|
|
"$srcdir/kustomize_parse_helm_charts.sh" "$@" |
|
|
|
|
|
while read -r repo_url name version values_file; do
|
|
|
|
|
values_file="${values_file:-}"
|
|
|
|
|
if ! grep -Eq "^$name[[:space:]]+$repo_url[[:space:]]*$" <<< "$helm_repos"; then
|
|
|
|
|
timestamp "Adding Helm repo '$repo_url' as name '$name'"
|
|
|
|
|
# might fail here if you've already installed a repo with this name, in which case, fix your repos, we don't want to remove/modify your existing repos
|
|
|
|
|