fix
This commit is contained in:
@@ -11,6 +11,17 @@ locals {
|
|||||||
ready
|
ready
|
||||||
EOF
|
EOF
|
||||||
end-core = <<-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
|
EOF
|
||||||
soa-ns = <<-EOF
|
soa-ns = <<-EOF
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ locals {
|
|||||||
"key" = "Corefile"
|
"key" = "Corefile"
|
||||||
"path" = "Corefile"
|
"path" = "Corefile"
|
||||||
}],[for z in var.zones: {
|
}],[for z in var.zones: {
|
||||||
"key" = z.name
|
"key" = "${z.name}.db"
|
||||||
"path" = z.name
|
"path" = "${z.name}.db"
|
||||||
}])
|
}])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,26 @@ metadata:
|
|||||||
name: dns
|
name: dns
|
||||||
description: null
|
description: null
|
||||||
options:
|
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:
|
zones:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -30,21 +50,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
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:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|||||||
Reference in New Issue
Block a user