stackspout/basic/install.sh
2022-06-29 23:11:29 +01:00

19 lines
646 B
Bash
Executable file

#!/usr/bin/env bash
kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
echo "Creating / updating gitRepository stackspout in namespace stackspout"
flux create source git stackspout \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--interval=3m
echo "Creating / updating kustomization stackspout in namespace stackspout"
flux create kustomization stackspout \
--source=GitRepository/stackspout \
--path="./basic/clusters/production/" \
--prune=true \
--interval=3m
python $STACKSPIN/install/generate_secrets.py vikunja
python $STACKSPIN/install/generate_secrets.py gitea