Skip to content
Snippets Groups Projects
install.sh 532 B
Newer Older
#!/usr/bin/env bash

Varac's avatar
Varac committed
echo "Creating / updating gitRepository custom-flux-example-basic in namespace flux-system"
Varac's avatar
Varac committed
flux create source git custom-flux-example \
  --url=https://open.greenhost.net/stackspin/custom-flux-example.git \
  --branch=main \
  --interval=1h

Varac's avatar
Varac committed
echo "Creating / updating kustomization custom-flux-example-basic in namespace flux-system"
flux create kustomization custom-flux-example-basic \
Varac's avatar
Varac committed
  --source=GitRepository/custom-flux-example \
  --path="./basic/clusters/production/" \
  --prune=true \
  --interval=1h