diff --git a/templates/dnsupdate-rfc2136/0/docker-compose.yml b/templates/dnsupdate-rfc2136/0/docker-compose.yml new file mode 100644 index 0000000..17fdf24 --- /dev/null +++ b/templates/dnsupdate-rfc2136/0/docker-compose.yml @@ -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" diff --git a/templates/dnsupdate-rfc2136/0/rancher-compose.yml b/templates/dnsupdate-rfc2136/0/rancher-compose.yml new file mode 100644 index 0000000..1be5fa4 --- /dev/null +++ b/templates/dnsupdate-rfc2136/0/rancher-compose.yml @@ -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 ..." + 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 diff --git a/templates/dnsupdate-rfc2136/catalogIcon-dnsupdate-rfc2136.svg b/templates/dnsupdate-rfc2136/catalogIcon-dnsupdate-rfc2136.svg new file mode 100644 index 0000000..7a3169d --- /dev/null +++ b/templates/dnsupdate-rfc2136/catalogIcon-dnsupdate-rfc2136.svg @@ -0,0 +1,139 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/templates/dnsupdate-rfc2136/config.yml b/templates/dnsupdate-rfc2136/config.yml new file mode 100644 index 0000000..2c693cd --- /dev/null +++ b/templates/dnsupdate-rfc2136/config.yml @@ -0,0 +1,5 @@ +name: DNS Update (RFC2136) +description: | + Rancher External DNS service powered by any RFC2136 compatible DNS +version: v0.5.0-rancher1 +category: Rancher Services