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

View File

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