wip: atlantis local chart and muliple envs

This commit is contained in:
2025-05-17 09:19:52 +02:00
parent 223149ecdd
commit ee09bf74ac
48 changed files with 70 additions and 4 deletions
+6 -2
View File
@@ -7,7 +7,7 @@ manifests=${4:-manifests}
outdir=${5:-_manifests}
build() {
if [ ! -d "$manifests" ]; then
if [ ! -e "$manifests" ]; then
echo "nothing to do here..." 1>&2
exit 0
fi
@@ -24,7 +24,11 @@ name: $chart
version: 0.1.0
EOF
cp -r $manifests/* $outdir/templates
if [ -d $manifests ]; then
cp -r $manifests/* $outdir/templates
else
cp $manifests $outdir/templates
fi
}
clean() {