stackspout/basic/install.sh

21 lines
664 B
Bash
Raw Normal View History

#!/usr/bin/env bash
kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
2022-07-06 10:25:31 +00:00
echo "Creating / Updating gitRepository 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
2022-07-06 10:25:31 +00:00
echo "Creating / Updating kustomization stackspout"
flux create kustomization stackspout \
--source=GitRepository/stackspout \
2022-07-06 10:25:31 +00:00
--path="./basic/infrastructure/kustomizations/" \
--prune=true \
2022-07-03 17:08:12 +00:00
--interval=30m
python $(dirname "$0")/../generate_secrets.py vikunja
python $(dirname "$0")/../generate_secrets.py gitea
2022-07-06 10:25:31 +00:00
python $(dirname "$0")/../generate_secrets.py suitecrm