mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 22:26:11 +02:00
docs(aws): refactor explanation of aws-zone-match-parent
This commit is contained in:
parent
5a0263b510
commit
6970972b6d
@ -225,17 +225,6 @@ metadata:
|
||||
spec:
|
||||
...
|
||||
```
|
||||
|
||||
## Enable sub-domain hosted zone match
|
||||
The aws-zone-match-parent flag extends external-dns to support sub-domain matching using its parent domain.
|
||||
|
||||
```yaml
|
||||
## hosted zone domain: domain.com
|
||||
--domain-filter=x.sub-domain.domain.com,sub-domain.com
|
||||
--aws-zone-match-parent
|
||||
```
|
||||
|
||||
|
||||
This will set the TTL for the DNS record to 60 seconds.
|
||||
|
||||
|
||||
|
||||
@ -562,6 +562,15 @@ Annotations which are specific to AWS.
|
||||
|
||||
`external-dns.alpha.kubernetes.io/aws-target-hosted-zone` can optionally be set to the ID of a Route53 hosted zone. This will force external-dns to use the specified hosted zone when creating an ALIAS target.
|
||||
|
||||
### aws-zone-match-parent
|
||||
`aws-zone-match-parent` allows support subdomains within the same zone by using their parent domain, i.e --domain-filter=x.example.com would create a DNS entry for x.example.com (and subdomains thereof).
|
||||
|
||||
```yaml
|
||||
## hosted zone domain: example.com
|
||||
--domain-filter=x.example.com,example.com
|
||||
--aws-zone-match-parent
|
||||
```
|
||||
|
||||
## Verify ExternalDNS works (Service example)
|
||||
|
||||
Create the following sample application to test that ExternalDNS works.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user