49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
.catalog:
|
|
name: "CloudFlare DNS"
|
|
version: "v0.6.0-rancher1"
|
|
description: "Rancher External DNS service powered by CloudFlare. Requires Rancher version v1.1.0"
|
|
minimum_rancher_version: v1.1.0
|
|
maximum_rancher_version: v1.2.0-pre3
|
|
questions:
|
|
- variable: "CLOUDFLARE_EMAIL"
|
|
label: "CloudFlare email address"
|
|
description: "Email address associated with your CloudFlare account"
|
|
type: "string"
|
|
required: true
|
|
- variable: "CLOUDFLARE_KEY"
|
|
label: "CloudFlare API key"
|
|
description: "API key for your CloudFlare account"
|
|
type: "string"
|
|
required: true
|
|
- variable: "ROOT_DOMAIN"
|
|
label: "Domain Name"
|
|
description: "The domain name managed by CloudFlare."
|
|
type: "string"
|
|
required: true
|
|
- variable: "TTL"
|
|
label: "TTL"
|
|
description: "The resource record cache time to live (TTL), in seconds (minimum 120)"
|
|
type: "int"
|
|
default: 120
|
|
min: 120
|
|
max: 3600
|
|
required: false
|
|
- variable: "NAME_TEMPLATE"
|
|
label: "DNS Name Template"
|
|
description: |
|
|
Name template used to construct the subdomain part (left of the domain) of the DNS record names.
|
|
Supported placeholders: %{{service_name}}, %{{stack_name}}, %{{environment_name}}.
|
|
By default DNS entries will be named '<service>.<stack>.<environment>.<domain>'.
|
|
type: "string"
|
|
default: "%{{service_name}}.%{{stack_name}}.%{{environment_name}}"
|
|
required: false
|
|
|
|
cloudflare:
|
|
health_check:
|
|
port: 1000
|
|
interval: 5000
|
|
unhealthy_threshold: 3
|
|
request_line: GET / HTTP/1.0
|
|
healthy_threshold: 2
|
|
response_timeout: 2000
|