add cluster loop
Some checks failed
lint-test-helm / helm-lint (push) Successful in 11s
render-manifests / render-manifests-helm (push) Failing after 23s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-11-30 21:46:44 -06:00
parent e694ad3fb3
commit 7d6be3985c
2 changed files with 9 additions and 8 deletions

View File

@@ -44,13 +44,15 @@ jobs:
- name: Add Repositories
run: |
echo ">> Adding repositories for chart dependencies ..."
for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do
helm dependency list --max-col-width 120 $chart_path 2> /dev/null \
| tail +2 | head -n 1 \
| tee repo_added \
| awk '{ print "helm repo add " $1 " " $3 }' \
| sh
for cluster in ${CLUSTERS}; do
echo ">> Adding repositories for chart dependencies of cluster $cluster ..."
for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do
helm dependency list --max-col-width 120 $chart_path 2> /dev/null \
| tail +2 | head -n 1 \
| tee -a repo_added \
| awk '{ print "helm repo add " $1 " " $3 }' \
| sh
done
done
echo ">> Added following repos:"