From 4411d7d885557228a3671ced3ecfed06153a0bb1 Mon Sep 17 00:00:00 2001 From: Pete Savage Date: Tue, 17 Dec 2024 17:06:41 +0000 Subject: [PATCH] new scripts --- build/build_template.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 build/build_template.sh diff --git a/build/build_template.sh b/build/build_template.sh new file mode 100755 index 000000000..aff0fb3da --- /dev/null +++ b/build/build_template.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +python3 -m venv "build/.build_venv" +source build/.build_venv/bin/activate +pip install pyyaml +cat $TEMPLATE_KUSTOMIZE | ./manifest2template.py --config config/deployment-template/clowder_config.yaml --mutate > deploy-mutate.yml +cat $TEMPLATE_KUSTOMIZE | ./manifest2template.py --config config/deployment-template/clowder_config.yaml > deploy.yml +deactivate \ No newline at end of file