2022-03-30 17:28:59 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-04-13 06:46:20 +00:00
|
|
|
kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
|
|
|
|
|
|
|
|
echo "Creating / updating gitRepository stackspout in namespace stackspout"
|
|
|
|
flux create source git stackspout \
|
|
|
|
--namespace=stackspout \
|
|
|
|
--url=https://open.greenhost.net/xeruf/stackspout.git \
|
2022-03-30 17:28:59 +00:00
|
|
|
--branch=main \
|
2022-04-13 06:46:20 +00:00
|
|
|
--interval=10m
|
2022-03-30 17:28:59 +00:00
|
|
|
|
2022-04-13 06:46:20 +00:00
|
|
|
echo "Creating / updating kustomization stackspout in namespace stackspout"
|
|
|
|
flux create kustomization stackspout \
|
|
|
|
--namespace=stackspout \
|
|
|
|
--source=GitRepository/stackspout \
|
2022-03-30 17:28:59 +00:00
|
|
|
--path="./basic/clusters/production/" \
|
|
|
|
--prune=true \
|
2022-04-13 06:46:20 +00:00
|
|
|
--interval=10m
|
2022-06-27 20:37:14 +00:00
|
|
|
|
2022-06-27 21:12:06 +00:00
|
|
|
python $STACKSPIN/install/generate_secrets.py vikunja
|
|
|
|
python $STACKSPIN/install/generate_secrets.py gitea
|