From 88917956fad6b31223bc7529470b23068b70de18 Mon Sep 17 00:00:00 2001 From: Timtor Chen Date: Fri, 19 Mar 2021 17:21:11 +0800 Subject: [PATCH] Update the usage of annotation-filter Signed-off-by: Timtor Chen --- docs/faq.md | 4 ++-- docs/tutorials/public-private-route53.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 32eee328c..f743f89dc 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -258,8 +258,8 @@ one to expose DNS to the internet. To do this with ExternalDNS you can use the `--annotation-filter` to specifically tie an instance of ExternalDNS to an instance of a ingress controller. Let's assume you have two ingress controllers `nginx-internal` and `nginx-external` -then you can start two ExternalDNS providers one with `--annotation-filter=kubernetes.io/ingress.class=nginx-internal` -and one with `--annotation-filter=kubernetes.io/ingress.class=nginx-external`. +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)`. ### Can external-dns manage(add/remove) records in a hosted zone which is setup in different AWS account? diff --git a/docs/tutorials/public-private-route53.md b/docs/tutorials/public-private-route53.md index 179c59582..b9d1525b2 100644 --- a/docs/tutorials/public-private-route53.md +++ b/docs/tutorials/public-private-route53.md @@ -241,7 +241,7 @@ spec: - --provider=aws - --registry=txt - --txt-owner-id=external-dns - - --annotation-filter=kubernetes.io/ingress.class=external-ingress + - --annotation-filter=kubernetes.io/ingress.class in (external-ingress) - --aws-zone-type=public image: registry.opensource.zalan.do/teapot/external-dns:latest name: external-dns-public @@ -279,7 +279,7 @@ spec: - --provider=aws - --registry=txt - --txt-owner-id=dev.k8s.nexus - - --annotation-filter=kubernetes.io/ingress.class=internal-ingress + - --annotation-filter=kubernetes.io/ingress.class in (internal-ingress) - --aws-zone-type=private image: registry.opensource.zalan.do/teapot/external-dns:latest name: external-dns-private