added dnsupdate-rfc2136 catalog entry

This commit is contained in:
digitalLumberjack
2016-07-27 21:48:55 +02:00
parent b6af78417a
commit d1bdc35b76
4 changed files with 208 additions and 0 deletions
@@ -0,0 +1,17 @@
rfc2136dns:
image: rancher/external-dns:v0.5.0
expose:
- 1000
command:
- -provider
- rfc2136
environment:
RFC2136_HOST: ${RFC2136_HOST}
RFC2136_PORT: ${RFC2136_PORT}
RFC2136_TSIG_KEYNAME: ${RFC2136_TSIG_KEYNAME}
RFC2136_TSIG_SECRET: ${RFC2136_TSIG_SECRET}
ROOT_DOMAIN: ${ROOT_DOMAIN}
TTL: ${TTL}
labels:
io.rancher.container.create_agent: "true"
io.rancher.container.agent.role: "external-dns"
@@ -0,0 +1,47 @@
.catalog:
name: "DNS Update (RFC2136)"
version: "v0.5.0-rancher1"
description: "Rancher External DNS service powered by any RFC2136 compatible DNS"
minimum_rancher_version: v0.44.0
questions:
- variable: "RFC2136_HOST"
label: "Domain Name Server IP"
description: "Server IP or Hostname"
type: "string"
required: true
- variable: "RFC2136_PORT"
label: "Domain Name Server Port"
description: "Server port"
type: "string"
required: true
default: "53"
- variable: "RFC2136_TSIG_KEYNAME"
label: "TSIG Key Name"
description: "Name of the key used for TSIG"
type: "string"
required: true
- variable: "RFC2136_TSIG_SECRET"
label: "TSIG Key"
description: "Value of the key used for TSIG, base64 encoded"
type: "string"
required: true
- variable: "TTL"
label: "TTL"
description: "The resource record cache time to live (TTL), in seconds"
type: "int"
default: 299
required: false
- variable: "ROOT_DOMAIN"
label: "Hosted zone name"
description: "DNS hosted zone name (zone has to be pre-created). DNS entries will be created for <service>.<stack>.<environment>.<hosted zone>"
type: "string"
required: true
rfc2136dns:
health_check:
port: 1000
interval: 2000
unhealthy_threshold: 3
request_line: GET / HTTP/1.0
healthy_threshold: 2
response_timeout: 2000