stackspout/basic/install.sh

15 lines
544 B
Bash
Executable File

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