forked from charmed-kubernetes/charm-coredns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
38 lines (38 loc) · 986 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
options:
domain:
description: The local domain for cluster DNS.
type: string
default: cluster.local
forward:
description: Where to forward non-cluster addresses.
type: string
default: /etc/resolv.conf
extra_servers:
description: Any additional servers to add to the Corefile.
type: string
default: ''
corefile:
description: >-
Configuration file to use for CoreDNS. This is interpreted as a Python
string. Template which will be given the `domain` and `forward` configs as
its context.
type: string
default: |
.:53 {
errors
health {
lameduck 5s
}
ready
kubernetes ${domain} in-addr.arpa ip6.arpa {
fallthrough in-addr.arpa ip6.arpa
pods insecure
}
prometheus :9153
forward . ${forward}
cache 30
loop
reload
loadbalance
}
${extra_servers}