fix
This commit is contained in:
@@ -11,6 +11,17 @@ locals {
|
||||
ready
|
||||
EOF
|
||||
end-core = <<-EOF
|
||||
log . {combined} {
|
||||
class denial error
|
||||
}
|
||||
kubernetes cluster.local
|
||||
k8s_external ns.${var.domain-name}
|
||||
prometheus 0.0.0.0:9153
|
||||
forward . ${var.forward}
|
||||
cache 30
|
||||
loop
|
||||
reload
|
||||
loadbalance
|
||||
}
|
||||
EOF
|
||||
soa-ns = <<-EOF
|
||||
|
||||
@@ -12,8 +12,8 @@ locals {
|
||||
"key" = "Corefile"
|
||||
"path" = "Corefile"
|
||||
}],[for z in var.zones: {
|
||||
"key" = z.name
|
||||
"path" = z.name
|
||||
"key" = "${z.name}.db"
|
||||
"path" = "${z.name}.db"
|
||||
}])
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,26 @@ metadata:
|
||||
name: dns
|
||||
description: null
|
||||
options:
|
||||
sub-domain:
|
||||
default: dns
|
||||
examples:
|
||||
- dns
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
forward:
|
||||
default: 192.168.1.254
|
||||
examples:
|
||||
- 192.168.1.254
|
||||
type: string
|
||||
zones:
|
||||
default: []
|
||||
items:
|
||||
@@ -30,21 +50,6 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
sub-domain:
|
||||
default: dns
|
||||
examples:
|
||||
- dns
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
image:
|
||||
default:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
Reference in New Issue
Block a user