2017-09-25 18:00:31 -07:00

50 lines
1.7 KiB
YAML

# notemplating
.catalog:
name: "Alibaba Cloud DNS"
version: "v0.1.0"
description: "Rancher External DNS service powered by Alibaba Cloud"
minimum_rancher_version: v1.6.8-rc1
maximum_rancher_version: v1.9.99
questions:
- variable: "ALICLOUD_ACCESS_KEY_ID"
label: "Access Key ID"
description: "Access key id for your Alibaba Cloud account"
type: "string"
required: true
- variable: "ALICLOUD_ACCESS_KEY_SECRET"
label: "Access Key Secret"
description: "Access key secret for your Alibaba Cloud account"
type: "string"
required: true
- variable: "ROOT_DOMAIN"
label: "Domain"
description: "The DNS zone (domain) managed by Alibaba Cloud. DNS entries will be created for <service>.<stack>.<environment>.<domain>"
type: "string"
required: true
- variable: "TTL"
label: "TTL"
description: "The resource record cache time to live (TTL), in seconds"
type: "int"
default: 600
min: 1
max: 86400
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
alidns:
health_check:
port: 1000
interval: 5000
unhealthy_threshold: 3
request_line: GET / HTTP/1.0
healthy_threshold: 2
response_timeout: 2000