Changed template pathing

This commit is contained in:
GeorgeRaven
2025-05-24 10:43:03 +01:00
parent 7ef073a8cd
commit 646de7e063

View File

@@ -291,14 +291,14 @@ spec:
- -c
args:
- |
cd /repository
cd /repository/charts
mkdir -p /repository/templates
ls -al
for dir in charts/*/
for dir in */
do
echo "******************************"
dir=${dir%*/} # removes trailing "/"
echo "helm lint ${dir}"
echo "helm template ${dir}"
helm template "${dir}"/ > "/repository/templates/${dir}.yaml"
done
outputs: