cuddle-rust-service-plan/scripts/render.sh
kjuulh 94244cf937
feat: add basic
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-02-03 19:08:51 +01: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"