diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index 783ecd7cb0..c9a5645fa5 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,5 +1,5 @@ name: coredns -version: 0.2.0 +version: 0.3.0 description: CoreDNS is a DNS server that chains middleware and provides Kubernetes DNS Services keywords: - coredns diff --git a/stable/coredns/templates/deployment.yaml b/stable/coredns/templates/deployment.yaml index eb9fbba5a1..1cac0c96bc 100644 --- a/stable/coredns/templates/deployment.yaml +++ b/stable/coredns/templates/deployment.yaml @@ -37,6 +37,9 @@ spec: scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]' {{- end }} spec: + {{- if .Values.isClusterService }} + dnsPolicy: Default + {{- end }} containers: - name: "coredns" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"