15 lines
514 B
Bash
Executable File
15 lines
514 B
Bash
Executable File
#!/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
|