wip: misc helmfile improvements

This commit is contained in:
2025-05-14 16:01:55 +02:00
parent 87a10aab1f
commit 55c6bb5923
7 changed files with 41 additions and 29 deletions
+7 -2
View File
@@ -1,8 +1,13 @@
#!/usr/bin/env bash
if [ -f base/kustomization.yaml ]; then
[ $# != 1 ] && exit 1
[ ! -f base/kustomization.yaml ] && exit 1
env=$1
if [ -f $env/kustomization.yaml ]; then
cat >base/_manifest.yaml
kubectl kustomize base
kubectl kustomize $env
else
cat
fi