fam-melcher/kairos-gitops ? reverse-engineered prompt

Reverse engineered prompt

Build me a GitOps repo for two k3s clusters, one dev and one prod, using ArgoCD as the root of everything. I want the repo organized so each cluster syncs a clusters/<name> folder, and that folder renders an app of apps setup where the cluster only creates the parent ArgoCD Application and everything else comes from this repo.

Please set it up with shared app definitions and per cluster overlays for ArgoCD, MetalLB, Envoy Gateway, and the cluster specific gateway and MetalLB config. The dev and prod clusters should be able to run different versions of the same app by changing only a small patch file, and the config that truly differs per cluster should live with that cluster.

Use the LAN addresses from the README, and also add the missing dev wildcard DNS record pointing at the dev MetalLB address. Keep it clean and easy to extend later, and if you need current docs for ArgoCD, Kustomize, or Gateway API, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab