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

View File

@ -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>`.

View File

@ -1,5 +1,5 @@
rfc2136dns:
image: rancher/external-dns:v0.6.2
image: rancher/external-dns:v0.7.2
command: -provider=rfc2136
expose:
- 1000

View File

@ -1,7 +1,7 @@
# notemplating
.catalog:
name: "DNS Update (RFC2136)"
version: "v0.6.2-rancher2"
version: "v0.7.2-rancher1"
description: "Rancher External DNS service powered by any RFC2136 compatible DNS server. Requires Rancher version v1.1.0"
minimum_rancher_version: v1.6.0-rc1
questions:

View File

@ -1,7 +1,7 @@
name: DNS Update (RFC2136)
description: |
Rancher External DNS service powered by any RFC2136 compatible DNS
version: v0.6.2-rancher2
version: v0.7.2-rancher1
category: External DNS
labels:
io.rancher.orchestration.supported: 'cattle,mesos,swarm,kubernetes'