Merge pull request #13 from mark-burnett/configure-default-dns
Make kube-dns upstream servers configurable
This commit is contained in:
commit
0806bce806
@ -44,3 +44,6 @@ spec:
|
||||
kube_service_ip: 10.96.0.1
|
||||
pod_ip_cidr: 10.97.0.0/16
|
||||
service_ip_cidr: 10.96.0.0/16
|
||||
dns_servers:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
@ -7,8 +7,7 @@ metadata:
|
||||
labels:
|
||||
addonmanager.kubernetes.io/mode: EnsureExists
|
||||
data:
|
||||
upstreamNameservers: |-
|
||||
["8.8.8.8", "8.8.4.4"]
|
||||
upstreamNameservers: {{ config['Network']['dns_servers'] | tojson }}
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
Loading…
Reference in New Issue
Block a user