/WhyFluxV2

Collection of documentation and resources on Flux v2

Primary LanguageHCL

Flux v2 and the GitOps Toolkit

  • Supports the same workflows as Flux v1, with more flexibility and using Kubernetes-native components.
  • Existing Flux and Flux/Helm users are supported and migration is well supported.

getting_started.sh

  • Based on: Get Started With Flux v2 Tutorial
  • Requirements:
    • export GITHUB_USER=<github_username>
    • export GITHUB_TOKEN=<public_access_token>
    • The personal access token needs to create repositories (check all permissions under repo).
    • Azure CLI
    • Azure Login and subscription
    • A bash terminal
  • What this script does:
    1. Installs flux
    2. Logs in to Azure CLI
    3. Creates a resource group and 2 AKS clusters
    4. Executes the staging bootstrap and workflow
    5. Executes the production bootstrap and workflow

terraform/github

Resources

overview

  • GOTK is a set of composable APIs and specialized tools that can be used to build a CI/CD platform on top of Kubernetes.
  • Users can make their own workflows using the components.
  • Third parties can extend GOTK with new components.