Skip to content

The example of using cue with Kubernetes, ArgoCD and Crossplane

Notifications You must be signed in to change notification settings

selfuryon/kubernetes-cue-example

Repository files navigation

Nix ArgoCD Kubernetes

Example Gitops with CUE for Crossplane and Kubernetes

Current folder structure:

  • gitops is a folder for kubernetes configuration for ArgoCD
    • apps contains templates for ArgoCD applications for installing them into different clusters
    • bootstrap manages application bootsrap for particular cluster in ArgoCD
    • clusters manages different manifests for particular cluster (manifest application in ArgoCD)
  • crossplane is a folder for crossplane configuration for Crossplane Controllers managed by ArgoCD
    • providers used for installing different providers for Crossplane
    • aws used for managing particular project in AWS
    • gcp used for managing particular project in GCP
    • vault used for managing particular Vault instance

Agenda

We have several projects:

  • prod
  • uat
  • dev

where prod and uat are managed by one set of argocd/crossplane and dev by another set.

Direnv

To allow direnv to check changes in devShell we need to use this .envrc

watch_file ./nix/*
use flake

About

The example of using cue with Kubernetes, ArgoCD and Crossplane

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published