add pointhq

This commit is contained in:
James Oliver
2016-03-22 23:21:05 -07:00
parent 757f993e08
commit 9299869d3f
6 changed files with 211 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
pointhq:
image: rancher/external-dns:v0.2.0
command: --provider pointhq
expose:
- 1000
environment:
POINTHQ_TOKEN: ${POINTHQ_TOKEN}
POINTHQ_EMAIL: ${POINTHQ_EMAIL}
ROOT_DOMAIN: ${ROOT_DOMAIN}
TTL: ${TTL}
labels:
io.rancher.container.create_agent: "true"
io.rancher.container.agent.role: "external-dns"
+36
View File
@@ -0,0 +1,36 @@
.catalog:
name: "PointHQ DNS"
version: "v0.2.0-rancher1"
description: "Rancher External DNS service powered by PointHQ. Requires Rancher version 0.44.0"
minimum_rancher_version: v0.44.0
questions:
- variable: "POINTHQ_EMAIL"
label: "PointHQ account email address"
description: "EMail address associated with your PointHQ account"
type: "string"
required: true
- variable: "POINTHQ_TOKEN"
label: "PointHQ API token"
description: "API token for your PointHQ account"
type: "string"
required: true
- variable: "ROOT_DOMAIN"
label: "Root domain"
description: "DNS entries will be created for <service>.<stack>.<environment>.<root domain>"
type: "string"
required: true
- variable: "TTL"
label: "TTL"
description: "The resource record cache time to live (TTL), in seconds"
type: "int"
default: 300
required: false
pointhq:
health_check:
port: 1000
interval: 2000
unhealthy_threshold: 3
request_line: GET / HTTP/1.0
healthy_threshold: 2
response_timeout: 2000