docs/sources/ingress.md
The ingress source creates DNS entries based on Ingress.networking.k8s.io resources.
The --ingress-class flag filters Ingress resources by a set of ingress classes.
The flag may be specified multiple times in order to
allow multiple ingress classes.
This source supports the --label-filter flag, which filters Ingress resources
by a set of labels.
The domain names of the DNS entries created from an Ingress are sourced from the following places:
spec.rules, adding any non-empty host.This behavior is suppressed if the --ignore-ingress-rules-spec flag was specified
or the Ingress had an
external-dns.alpha.kubernetes.io/ingress-hostname-source: annotation-only annotation.
spec.tls, adding each member of hosts.This behavior is suppressed if the --ignore-ingress-tls-spec flag was specified
or the Ingress had an
external-dns.alpha.kubernetes.io/ingress-hostname-source: annotation-only annotation,
external-dns.alpha.kubernetes.io/hostname annotation.This behavior is suppressed if the --ignore-hostname-annotation flag was specified
or the Ingress had an
external-dns.alpha.kubernetes.io/ingress-hostname-source: defined-hosts-only annotation.
--combine-fqdn-annotation flag was specified, then adds hostnames
generated from any--fqdn-template flag.The targets of the DNS entries created from an Ingress are sourced from the following places:
If the Ingress has an external-dns.alpha.kubernetes.io/target annotation, uses
the values from that.
Otherwise, iterates over the Ingress's status.loadBalancer.ingress,
adding each non-empty ip and hostname.