wip: misc helmfile experiments
This commit is contained in:
+2
-4
@@ -4,11 +4,11 @@ cmd=$1
|
||||
chart=$2
|
||||
env=$3
|
||||
|
||||
dir=_manifests
|
||||
dir=_helmify
|
||||
|
||||
build() {
|
||||
if [ ! -d "manifests" ]; then
|
||||
echo "nothing to do here..."
|
||||
echo "nothing to do here..." 1>&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -24,8 +24,6 @@ name: $chart
|
||||
version: 0.1.0
|
||||
EOF
|
||||
|
||||
echo $env 1>&2
|
||||
echo $chart 1>&2
|
||||
cp -r manifests/* $dir/templates
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -f base/kustomization.yaml ]]; then
|
||||
if [ -f base/kustomization.yaml ]; then
|
||||
cat >base/_manifest.yaml
|
||||
kubectl kustomize base
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user