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
|
|
|
|
|
2022-07-06 10:25:31 +00:00
|
|
|
echo "Creating / Updating gitRepository stackspout"
|
2022-04-13 06:46:20 +00:00
|
|
|
flux create source git stackspout \
|
|
|
|
--url=https://open.greenhost.net/xeruf/stackspout.git \
|
2022-03-30 17:28:59 +00:00
|
|
|
--branch=main \
|
2022-07-03 17:08:12 +00:00
|
|
|
--interval=5m
|
2022-03-30 17:28:59 +00:00
|
|
|
|
2022-07-06 10:25:31 +00:00
|
|
|
echo "Creating / Updating kustomization stackspout"
|
2022-04-13 06:46:20 +00:00
|
|
|
flux create kustomization stackspout \
|
|
|
|
--source=GitRepository/stackspout \
|
2022-07-06 10:25:31 +00:00
|
|
|
--path="./basic/infrastructure/kustomizations/" \
|
2022-03-30 17:28:59 +00:00
|
|
|
--prune=true \
|
2022-07-12 21:45:06 +00:00
|
|
|
--interval=5m
|
2022-06-27 20:37:14 +00:00
|
|
|
|
2022-07-09 00:25:01 +00:00
|
|
|
python $(dirname "$0")/../generate_secrets.py vikunja
|
2022-07-18 20:22:08 +00:00
|
|
|
python $(dirname "$0")/../generate_secrets.py vikunja-test
|
2022-07-09 00:25:01 +00:00
|
|
|
python $(dirname "$0")/../generate_secrets.py gitea
|
2022-10-13 21:19:40 +00:00
|
|
|
python $(dirname "$0")/../generate_secrets.py invoiceninja
|