This commit is contained in:
@@ -48,9 +48,9 @@ jobs:
|
|||||||
echo ">> Adding repositories for chart dependencies of cluster $cluster ..."
|
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 \
|
||||||
| awk '{ print "helm repo add " $1 " " $3 }' \
|
| awk '{ print "helm repo add " $1 " " $3 }' \
|
||||||
| sh
|
| while read cmd; do echo "$cmd" | sh; done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user