dnsupdate update to 0.7.2 to use io.rancher.service.external_dns_name_template

This commit is contained in:
Tayyeb
2017-08-14 13:58:35 +04:30
parent 3f9a4e3443
commit 37c714254e
4 changed files with 11 additions and 3 deletions
@@ -36,6 +36,14 @@ Accepts 'always', 'never' or 'auto' (default)
- `never`: Never create DNS records for this service
- `auto`: Create DNS records for this service if it exposes ports on the host
`io.rancher.service.external_dns_name_template`
Accepts valid DNS name template
By default DNS entries are named based on default template defined on dnsupdate service.
You can customize it per service by assigning `io.rancher.service.external_dns_name_template` label to each service.
dnsupdate will use this template instead of default one when creating dns record for related service.
##### Custom DNS name template
By default DNS entries are named `<service>.<stack>.<environment>.<domain>`.