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

View File

@@ -1 +0,0 @@
app-template 4.4.0 https://bjw-s-labs.github.io/helm-charts/ ok