UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Consolidate Flux Install

Merged Zachariah Dzielinski requested to merge issue-11 into master
All threads resolved!

https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/11

Helper script help text:

> ./scripts/install_flux.sh --help
usage: install_flux.sh <arguments>
-h|--help              - print this help message and exit
-r|--registry-url      - (optional: default: registry1.dso.mil) registry url to use, must match flux manifest content
-u|--registry-username - (required) registry username to use for flux installation
-p|--registry-password - (required) registry password to use for flux installation
-e|--registry-email    - (required) registry email to use for flux installation
-w|--wait-timeout      - (optional, default: 120) how long to wait; in seconds, for each key flux resource component

Example of 00_deploy_flux.sh:

> ./scripts/install_flux.sh \
>   --registry-username 'robot$bigbang' \
>   --registry-password "$REGISTRY1_PASSWORD" \
>   --registry-email bigbang@bigbang.dev 
Edited by runyontr

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • other than previous comment this LGTM!

    Edited by joshwolf
  • LGTM

    • Resolved by joshwolf

      This is a lot of.....stuff to do this:

      function install_flux() {
        kubectl create ns flux-system
      
        # Install flux in the cluster
        kubectl apply -f https://repo1.dso.mil/platform-one/big-bang/umbrella/-/raw/master/scripts/deploy/flux.yaml
      
        # Wait for flux
        kubectl wait --for=condition=available --timeout 300s -n "flux-system" "deployment/helm-controller"
        kubectl wait --for=condition=available --timeout 300s -n "flux-system" "deployment/source-controller"
      }

      What did I miss @zdzielinski

  • runyontr
  • Zachariah Dzielinski marked this merge request as ready

    marked this merge request as ready

  • runyontr added 137 commits

    added 137 commits

    • 4f1c4750...149e16ba - 135 commits from branch master
    • 0f64f66e - Merge remote-tracking branch 'origin/master' into issue-11
    • 5afdaa46 - update install flux commands based on simplification

    Compare with previous version

  • runyontr changed the description

    changed the description

  • runyontr assigned to @runyontr and unassigned @zdzielinski

    assigned to @runyontr and unassigned @zdzielinski

  • runyontr added 1 commit

    added 1 commit

    • ee6233e0 - update script command in development docs

    Compare with previous version

  • Jason Krause requested review from @jasonkrause

    requested review from @jasonkrause

  • I was able to deploy using the script without apparent issues. If there is something specific to look for, let me know.

  • runyontr approved this merge request

    approved this merge request

  • joshwolf added 59 commits

    added 59 commits

    Compare with previous version

  • joshwolf resolved all threads

    resolved all threads

  • joshwolf approved this merge request

    approved this merge request

  • runyontr approved this merge request

    approved this merge request

  • merged

  • runyontr mentioned in commit 68baff4b

    mentioned in commit 68baff4b

  • joshwolf mentioned in issue #275 (closed)

    mentioned in issue #275 (closed)

  • evan.rush mentioned in issue #634 (closed)

    mentioned in issue #634 (closed)

  • Please register or sign in to reply
    Loading