Shared Traefik Route and TLS Configuration for GitOps Consistency
I unified Traefik’s route and TLS definitions by moving them into a shared route-config/ directory, updating documentation, and adjusting the CI test to validate the new location. This reduces duplication and ensures all services reference a single source of truth.
Unified Configuration Files
I removed the old clusters/homelab/apps/traefik/routes.yaml and clusters/homelab/apps/traefik/tls.yaml files and added new route-config/routes.yaml and route-config/tls.yaml files. The commit message refactor(gitops): share Traefik route and TLS configuration (#2329) records the removal of 350 deletions and 1 addition for each file, confirming the consolidation. This change centralizes the configuration so any service can import the same files without maintaining separate copies.
Documentation and Source Mapping
All runbooks and documentation now reference the route-config/ paths, for example docs/networking-tailnet-ingress.md and openwiki/architecture/gitops-flow.md. Updating these references aligns the explicit host/backend source with the new overlay layout, preventing tools that rely on the old routes.yaml path from discovering arbitrary Services. The consistency helps maintainers locate the correct configuration quickly.
Test Updates and Validation
I modified scripts/ci/traefik-sidecar-canary-test.rb to read the live configuration from live/route-config/ instead of the previous clusters/homelab/apps/traefik/ location. The test now checks that the rendered traefik-routes ConfigMap exists, that the file content matches the shared source, and that the rendered values equal the source file. This validation ensures that any drift between the source and the rendered configuration is caught early in CI.