Skip to content

Commit

Permalink
docs(aws): refactor explanation of aws-zone-match-parent
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoluiznunes committed Feb 6, 2024
1 parent 5a0263b commit 6970972
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/tutorials/aws-sd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
9 changes: 9 additions & 0 deletions docs/tutorials/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6970972

Please sign in to comment.