stackspout/install.sh

20 lines
591 B
Bash
Raw Normal View History

2025-05-19 21:38:12 +02:00
#!/bin/sh -x
2025-05-19 21:38:12 +02:00
kubectl get namespace stackspout 2>/dev/null ||
kubectl create namespace stackspout
2022-07-06 11:25:31 +01:00
echo "Creating / Updating gitRepository stackspout"
flux create source git stackspout \
2025-05-19 21:38:12 +02:00
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
2022-07-03 18:08:12 +01:00
--interval=5m
2025-05-19 21:38:12 +02:00
# Don't depend on a repo hosted by this cluster
#url=https://forge.ftt.gmbh/polygon/stackspout.git \
2022-07-06 11:25:31 +01:00
echo "Creating / Updating kustomization stackspout"
flux create kustomization stackspout \
--source=GitRepository/stackspout \
2024-01-23 22:50:41 +01:00
--path="./infrastructure/kustomizations/" \
--prune=true \
--interval=5m