stackspout/basic/install.sh

15 lines
514 B
Bash
Raw Normal View History

#!/usr/bin/env bash
echo "Creating / updating gitRepository custom-flux-example in namespace flux-system"
flux create source git custom-flux-example \
--url=https://open.greenhost.net/stackspin/custom-flux-example.git \
--branch=main \
--interval=1h
echo "Creating / updating kustomization custom-flux-example in namespace flux-system"
flux create kustomization custom-flux-example \
--source=GitRepository/custom-flux-example \
--path="./basic/clusters/production/" \
--prune=true \
--interval=1h