cuddle-node-service-plan/scripts/render.sh
kjuulh 91750d8a5d
feat: with plan
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-04-05 21:31:00 +02:00

20 lines
363 B
Bash
Executable File

#!/bin/bash
set -eou pipefail
echo "rendering folder"
cuddle render folder \
--source $TMP/kustomize \
--destination $TMP/rendered/kustomize \
--extra-var cluster=$CLUSTER \
--extra-var image_tag=$IMAGE_TAG
echo "rendering kustomize"
cuddle render kustomize \
--kustomize-folder $TMP/rendered/kustomize/base \
--destination $TMP/k8s
echo "done"