Skip to content

Reconciliation

Flux watches main at gitops/clusters/lab. Its individual group files contain the Flux Kustomizations; the directory Kustomizations assemble ordinary manifests. These are different uses of the same term.

Flux group Path under gitops Waits for
apps apps Nothing outside the app bundle
infrastructure infrastructure/core Nothing
secrets infrastructure/secrets infrastructure; then both Helm releases must be Ready
secret-store infrastructure/secret-store secrets; store must be Ready
cnpg infrastructure/cnpg infrastructure; operator Helm release must be Ready
shoutrrr apps/shoutrrr infrastructure and secret-store; application resources must become Ready
cloudflared infrastructure/cloudflared secret-store and shoutrrr; tunnel credential and connection must become Ready

The store cannot be Ready until Vault is initialized, unsealed, and configured for Kubernetes authentication. This is an expected bootstrap gate, not a reason to remove dependsOn or embed credentials in Git.

Inspect status with:

flux get kustomizations -A
flux get helmreleases -A
kubectl get clustersecretstore vault
kubectl get externalsecrets -A

The apps group keeps Homepage and Linkding independent of secret failures. Shoutrrr is included through its own group, depending on retained storage and the secret store rather than the independent apps root. Its ExternalSecrets need the Shoutrrr Vault record. Cloudflared publishes only Shoutrrr over HTTPS; the other application and administrative interfaces remain on the private LAN.

New groups start reconciling when this configuration reaches the watched branch. Use the rollout runbook and inspect readiness after each boundary. Removing a managed resource can prune it. Never remove a namespace or PVC as a substitute for rolling back configuration. Core retained storage and directly managed Vault storage have pruning protection; verify rendered ownership before any migration.