Moved external DNS to infra-templates, added min/max versions and updated category to External DNS

This commit is contained in:
deniseschannon
2016-11-20 08:17:34 -08:00
parent 27f6f8bb8f
commit 440fac6202
60 changed files with 1459 additions and 7 deletions
@@ -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"
@@ -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: v1.2.0-pre4-rc3
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
@@ -0,0 +1,13 @@
pointhq:
image: rancher/external-dns:v0.2.1
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"
@@ -0,0 +1,36 @@
.catalog:
name: "PointHQ DNS"
version: "v0.2.1-rancher1"
description: "Rancher External DNS service powered by PointHQ. Requires Rancher version 0.44.0"
minimum_rancher_version: v1.2.0-pre4-rc3
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
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 505.9 163.1" style="enable-background:new 0 0 505.9 163.1;" xml:space="preserve">
<style type="text/css">
.st0{fill:#00C7FC;}
.st1{fill:#FFFFFF;}
.st2{fill:#495755;}
</style>
<g>
<circle class="st0" cx="89.9" cy="81.6" r="62.7"/>
<circle class="st1" cx="77.8" cy="51" r="9"/>
<circle class="st1" cx="114.8" cy="57.7" r="9"/>
<circle class="st1" cx="87.6" cy="89.2" r="9"/>
<circle class="st1" cx="56" cy="78.9" r="9"/>
<circle class="st1" cx="77.8" cy="113.1" r="9"/>
<circle class="st1" cx="128.6" cy="91.6" r="9"/>
<polygon class="st1" points="91.5,93.5 60.9,82.7 62.7,77.6 83.8,85.1 74.2,47.6 115.3,55.1 114.3,60.4 81.4,54.4 "/>
<polygon class="st1" points="80.3,114.1 75.3,112.1 85.9,86.5 128.7,88.9 128.4,94.2 89.4,92.1 "/>
<path class="st2" d="M241.2,109.9h-13.5c-5.9,0-10.8-4.8-10.8-10.8V76.1c0-5.9,4.8-10.8,10.8-10.8h13.4c5.9,0,10.8,4.8,10.8,10.8
v22.9C251.9,105.1,247.1,109.9,241.2,109.9z M227.7,74.1c-1.2,0-2.2,1-2.2,2.2v22.9c0,1.2,1,2.2,2.2,2.2h13.4c1.2,0,2.2-1,2.2-2.2
V76.3c0-1.2-1-2.2-2.2-2.2H227.7z"/>
<path class="st2" d="M467.9,108h-26.4v-8.6h26.4c1.2,0,2.2-1,2.2-2.2V85.1c0-1.2-1-2.2-2.2-2.2h-13.4v-8.6h13.4
c5.9,0,10.8,4.8,10.8,10.8v12.1C478.6,103.1,473.8,108,467.9,108z"/>
<path class="st2" d="M465.2,83h-13.5c-5.9,0-10.8-4.8-10.8-10.8V60.1c0-5.9,4.8-10.8,10.8-10.8h26.4v8.6h-26.4
c-1.2,0-2.2,1-2.2,2.2v12.1c0,1.2,1,2.2,2.2,2.2h13.4V83H465.2z"/>
<path class="st2" d="M369.5,109.7h-25.6V50.4h25.6c8.3,0,15.1,6.8,15.1,15.1v29.2C384.6,103,377.8,109.7,369.5,109.7z M352.6,101.1
h17c3.6,0,6.5-2.9,6.5-6.5V65.5c0-3.6-2.9-6.5-6.5-6.5h-17V101.1z"/>
<path class="st2" d="M340.9,108.7h-9.1c-5.9,0-10.8-4.8-10.8-10.8V55.7h8.6v42.2c0,1.2,1,2.2,2.2,2.2h9.1V108.7z"/>
<path class="st2" d="M309.2,109.4h-8.6V75.8c0-0.7-0.6-1.3-1.3-1.3h-7.4c-6.5,0-9.6,8.8-9.6,10.3h-8.6c0-5.6,6.2-18.9,18.2-18.9
h7.4c5.5,0,9.9,4.4,9.9,9.9L309.2,109.4L309.2,109.4z"/>
<path class="st2" d="M185.2,108.4h-8.6V49.2H203c5.9,0,10.8,4.8,10.8,10.8v14.3c0,5.9-4.8,10.8-10.8,10.8h-17.8V108.4z M185.2,76.4
h17.7c1.2,0,2.2-1,2.2-2.2V59.9c0-1.2-1-2.2-2.2-2.2h-17.7V76.4z"/>
<rect x="259.5" y="65.1" class="st2" width="8.6" height="43.3"/>
<rect x="273.7" y="66.1" class="st2" width="8.6" height="43.3"/>
<rect x="259.5" y="51.6" class="st2" width="8.6" height="9.4"/>
<rect x="312.4" y="65.9" class="st2" width="26.3" height="8.6"/>
<polygon class="st2" points="424.2,108.4 397.9,64.5 397.9,107 389.3,107 389.3,49.4 399.4,49.4 425.6,94.4 425.6,49.4 434.2,49.4
434.2,108.4 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

+5
View File
@@ -0,0 +1,5 @@
name: PointHQ DNS
description: |
Rancher External DNS service powered by PointHQ
version: v0.2.1-rancher1
category: External DNS