Merge pull request #13 from mark-burnett/configure-default-dns

Make kube-dns upstream servers configurable
This commit is contained in:
Mark Burnett 2017-06-21 10:47:49 -05:00 committed by GitHub
commit 0806bce806
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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