stackspout/install.sh

22 lines
612 B
Bash
Raw Permalink 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 \
2024-01-23 21:50:41 +00:00
--path="./infrastructure/kustomizations/" \
--prune=true \
--interval=5m
flux bootstrap git \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--path=util/flux