fix
This commit is contained in:
@@ -42,10 +42,10 @@ locals {
|
|||||||
z.domain!=null&&z.domain!=""?[format("%s. IN A %s", z.name, z.domain)]:[],
|
z.domain!=null&&z.domain!=""?[format("%s. IN A %s", z.name, z.domain)]:[],
|
||||||
z.domain6!=null&&z.domain6!=""?[format("%s. IN AAAA %s", z.name, z.domain6)]:[],
|
z.domain6!=null&&z.domain6!=""?[format("%s. IN AAAA %s", z.name, z.domain6)]:[],
|
||||||
z.txt==null?[]:[for k,v in z.txt: format("%s IN TXT %s", k, v)],
|
z.txt==null?[]:[for k,v in z.txt: format("%s IN TXT %s", k, v)],
|
||||||
z.hosts==null?[]:[for k,v in z.hosts,[]: format("%s IN A %s", k, v)],
|
z.hosts==null?[]:[for k,v in z.hosts: format("%s IN A %s", k, v)],
|
||||||
z.hosts6==null?[]:[for k,v in z.hosts6,[]: format("%s IN AAAA %s", k, v)],
|
z.hosts6==null?[]:[for k,v in z.hosts6: format("%s IN AAAA %s", k, v)],
|
||||||
z.alias==null?[]:[for k,v in z.alias,[]: format("%s IN CNAME %s", k, v)],
|
z.alias==null?[]:[for k,v in z.alias: format("%s IN CNAME %s", k, v)],
|
||||||
z.mx==null?[]:[for mx in z.mx,[]: format("%s IN MX %d %s", mx.name, mx.priority, mx.value)],
|
z.mx==null?[]:[for mx in z.mx: format("%s IN MX %d %s", mx.name, mx.priority, mx.value)],
|
||||||
z.wildcard!=null&&z.wildcard!=""?[format("*.%s. IN A %s", z.name, z.wildcard)]:[],
|
z.wildcard!=null&&z.wildcard!=""?[format("*.%s. IN A %s", z.name, z.wildcard)]:[],
|
||||||
z.wildcard6!=null&&z.wildcard6!=""?[format("*.%s. IN AAAA %s", z.name, z.wildcard6)]:[],
|
z.wildcard6!=null&&z.wildcard6!=""?[format("*.%s. IN AAAA %s", z.name, z.wildcard6)]:[],
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -6,6 +6,16 @@ metadata:
|
|||||||
name: dns
|
name: dns
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
sub_domain:
|
||||||
|
default: dns
|
||||||
|
examples:
|
||||||
|
- dns
|
||||||
|
type: string
|
||||||
zones:
|
zones:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -54,16 +64,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
sub_domain:
|
|
||||||
default: dns
|
|
||||||
examples:
|
|
||||||
- dns
|
|
||||||
type: string
|
|
||||||
domain_name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
image:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -98,10 +98,10 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- 192.168.1.254
|
- 192.168.1.254
|
||||||
type: string
|
type: string
|
||||||
domain:
|
domain_name:
|
||||||
default: your-company
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
|
|||||||
Reference in New Issue
Block a user