Skip to content
Snippets Groups Projects
Select Git revision
  • e434cdf9d32f94b30ef186d0ecc08673c4a21953
  • main default protected
2 results

install.sh

Blame
  • Forked from stackspin / stackspin-flux-example
    Source project has a limited visibility.
    install.sh 495 B
    #!/usr/bin/env bash
    
    kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
    
    echo "Creating / Updating gitRepository stackspout"
    flux create source git stackspout \
      --url=https://open.greenhost.net/xeruf/stackspout.git \
      --branch=main \
      --interval=5m
    
    echo "Creating / Updating kustomization stackspout"
    flux create kustomization stackspout \
      --source=GitRepository/stackspout \
      --path="./infrastructure/kustomizations/" \
      --prune=true \
      --interval=5m