From 9116ae6eded4d894c627a50bbe5df907c8cf4d46 Mon Sep 17 00:00:00 2001 From: Daniel Kravetz Date: Fri, 30 Apr 2021 10:46:07 +0200 Subject: [PATCH] Provide example of multiple values for "in" filter --- docs/faq.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 9c9173bb6..e11632f8e 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -257,6 +257,9 @@ an instance of a ingress controller. Let's assume you have two ingress controlle then you can start two ExternalDNS providers one with `--annotation-filter=kubernetes.io/ingress.class in (nginx-internal)` and one with `--annotation-filter=kubernetes.io/ingress.class in (nginx-external)`. +If you need to search for multiple values of said annotation, you can provide a comma separated list, like so: +`--annotation-filter=kubernetes.io/ingress.class in (nginx-internal, alb-ingress-internal)`. + Beware when using multiple sources, e.g. `--source=service --source=ingress`, `--annotation-filter` will filter every given source objects. If you need to filter only one specific source you have to run a separated external dns service containing only the wanted `--source` and `--annotation-filter`.