forked from yeyus/pdns-recursor-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
96 lines (87 loc) · 2.97 KB
/
values.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Default values for pdns-recursor-helm.
# This is a YAML-formatted file.
# Declare variables to be passed into your includes.
pdns:
api:
# key: secret key used to access the API and webserver
# API authentication is done through X-API-Key header
# if not specified it will randomly set
key: PowerDNSAPI
recursor:
webserver:
# allowFrom:
# set of CIDRs allowed to access the webserver/api resource
allowFrom: 0.0.0.0/0
persistence:
enabled: true
# storageClass: (optional)
# indicates the storage class used to create the config volume for API created zones
# storageClass: "managed-nfs-storage"
accessModes: [ReadWriteOnce]
size: 10Mi
# config
# this are the contents of the recursor.conf file.
# forward-zones-recurse: specifies the DNS servers used to resolve unmanaged zones
# visit https://doc.powerdns.com/recursor/settings.html for more information
# NOTES: do not modify api-config-dir, include-dir or auth-zones values as they will
# break the config injection through configMap
# TODO(ileixe): delete 10.0.0.1 as a DNS server
config: |-
daemon=no
local-address=10.0.0.2
local-port=53
allow-from=0.0.0.0/0
setgid=recursor
setuid=recursor
# 10.106.147.51 is Power DNS authoritive server
#
#furiosa@mgmt00:~/pdns-recursor-helm$ k get svc
# NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
# powerdns-udp ClusterIP 10.106.147.51 <none> 53/UDP 487d
forward-zones=furiosa.cloud=10.106.147.51
forward-zones-recurse=.=1.1.1.1;8.8.8.8
api-config-dir=/data
include-dir=/zones
max-cache-ttl=600
auth-zones=
# zones
# each entry specifies a DNS zone. use the config field to specify the contents of
# the DNS entries
zones:
- name: example.com.
config: |-
example.com IN SOA local.zone. hostmaster.example.com 1 1 1 1 1
subdomain IN A 192.168.1.1
replicaCount: 1
image:
repository: lmnetworks/pdns-recursor
tag: 4.1.3
pullPolicy: IfNotPresent
service:
type: ClusterIP
ingress:
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- powerdns-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}