stackspout/basic/install.sh

20 lines
647 B
Bash
Raw Normal View History

#!/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 \
2022-07-03 17:08:12 +00:00
--interval=5m
echo "Creating / updating kustomization stackspout in namespace stackspout"
flux create kustomization stackspout \
--source=GitRepository/stackspout \
--path="./basic/clusters/production/" \
--prune=true \
2022-07-03 17:08:12 +00:00
--interval=30m
python $STACKSPIN/install/generate_secrets.py vikunja
python $STACKSPIN/install/generate_secrets.py gitea