21 lines
815 B
Markdown
21 lines
815 B
Markdown
# ExternalDNS
|
|
|
|
ExternalDNS uses a Cloudflare token scoped to DNS read/write and zone read for
|
|
`brunner.ninja`. The token is stored only in the cluster Secret
|
|
`external-dns/cloudflare-token`. Argo CD manages the controller, but not the
|
|
credential.
|
|
|
|
To publish a new public route, give its Ingress or Traefik IngressRoute these
|
|
annotations:
|
|
|
|
```yaml
|
|
external-dns.brunner.ninja/enabled: "true"
|
|
external-dns.kubernetes.io/target: brunner.ninja
|
|
```
|
|
|
|
The route host becomes an unproxied CNAME to `brunner.ninja`. Traefik
|
|
IngressRoutes require the target annotation because they have no load balancer
|
|
status. Existing routes without the opt-in annotation remain untouched.
|
|
ExternalDNS only creates or updates records; it does not delete them when a
|
|
route is removed. This avoids removing existing records during adoption.
|