Gitops

Deploy Kubernetes applications with Gitops model

Gitops model used is Flux v2

Flux v2

Organization

Manifests files :

  • kubernetes/base directory contains manifests for all components
  • kubernetes/overlays/** directory contains Kustomize overlays

Flux components are deployed for each cluster on clusters/<CLOUD>/<ENV>/ :

  • clusters/<CLOUD>/<ENV>/flux-system : Flux core components
  • clusters/<CLOUD>/<ENV>/*.yaml : Flux Kustomization files for components

Sync

❯ make gitops-bootstrap ENV=<environment> CLOUD=<cloud provider> BRANCH=<git branch to use>
Last modified 08.10.2021: Add: use of Age for encryption (89afc7a)