You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new `gateway` source type that watches Gateway resources directly
and publishes DNS records (A/AAAA/CNAME) from status.addresses when
the gateway is annotated with external-dns.alpha.kubernetes.io/hostname.
Unlike the route sources (gateway-httproute etc.) which resolve hostnames
by traversing Route → parentRef → Gateway, this source targets the Gateway
object itself — useful when DNS is managed at the infrastructure level
rather than per-route.
Supported features:
- Hostname annotation (external-dns.alpha.kubernetes.io/hostname)
- Target override annotation (external-dns.alpha.kubernetes.io/target)
- TTL annotation, provider-specific annotations
- GatewayName / GatewayNamespace / GatewayLabelFilter / AnnotationFilter
- FQDN template (--fqdn-template flag)
- Controller annotation mismatch filtering
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/flags.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ tags:
41
41
|`--[no-]ignore-ingress-tls-spec`| Ignore the spec.tls section in Ingress resources (default: false) |
42
42
|`--[no-]ignore-non-host-network-pods`| Ignore pods not running on host network when using pod source (default: false) |
43
43
|`--ingress-class=INGRESS-CLASS`| Require an Ingress to have this class name; specify multiple times to allow more than one class (optional; defaults to any class) |
44
-
|`--label-filter=""`| Filter resources queried for endpoints by label selector; currently supported by source types crd, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, ingress, node, openshift-route, service and ambassador-host|
44
+
|`--label-filter=""`| Filter resources queried for endpoints by label selector; currently supported by source types crd, gateway, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, ingress, node, openshift-route, service and ambassador-host |
45
45
|`--managed-record-types=A...`| Record types to manage; specify multiple times to include many; (default: A,AAAA,CNAME) (supported records: A, AAAA, CNAME, NS, SRV, TXT) |
46
46
|`--namespace=""`| Limit resources queried for endpoints to a specific namespace (default: all namespaces) |
47
47
|`--nat64-networks=NAT64-NETWORKS`| Adding an A record for each AAAA record in NAT64-enabled networks; specify multiple times for multiple possible nets (optional) |
@@ -196,4 +196,4 @@ tags:
196
196
|`--kube-api-qps=5`| Maximum QPS to the Kubernetes API server from this client. |
197
197
|`--kube-api-burst=10`| Maximum burst for throttle to the Kubernetes API server from this client. |
198
198
|`--provider=provider`| The DNS provider where the DNS records will be created (required, options: akamai, alibabacloud, aws, aws-sd, azure, azure-dns, azure-private-dns, civo, cloudflare, coredns, dnsimple, exoscale, gandi, godaddy, google, inmemory, linode, ns1, oci, ovh, pdns, pihole, plural, rfc2136, scaleway, skydns, transip, webhook) |
199
-
|`--source=source`| The resource types that are queried for endpoints; specify multiple times for multiple sources (required, options: service, ingress, node, pod, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, istio-gateway, istio-virtualservice, contour-httpproxy, gloo-proxy, fake, connector, crd, empty, skipper-routegroup, openshift-route, ambassador-host, kong-tcpingress, f5-virtualserver, f5-transportserver, traefik-proxy, unstructured) |
199
+
|`--source=source`| The resource types that are queried for endpoints; specify multiple times for multiple sources (required, options: service, ingress, node, pod, gateway, gateway-httproute, gateway-grpcroute, gateway-tlsroute, gateway-tcproute, gateway-udproute, istio-gateway, istio-virtualservice, contour-httpproxy, gloo-proxy, fake, connector, crd, empty, skipper-routegroup, openshift-route, ambassador-host, kong-tcpingress, f5-virtualserver, f5-transportserver, traefik-proxy, unstructured) |
0 commit comments