cuddle-rust-cli-plan/scripts/render.sh
kjuulh 02b2c986ed
feat: add base things
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-03-30 00:09:34 +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"