Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 874 Bytes
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "istiocoredns.name" . }}
chart: {{ template "istiocoredns.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
data:
Corefile: |
.:53 {
errors
health
{{ if eq -1 (semver .Values.coreDNSTag | (semver "1.4.0").Compare) }}
# Removed support for the proxy plugin: https://coredns.io/2019/03/03/coredns-1.4.0-release/
grpc global 127.0.0.1:8053
forward . /etc/resolv.conf {
except global
}
{{ else }}
proxy global 127.0.0.1:8053 {
protocol grpc insecure
}
proxy . /etc/resolv.conf
{{ end }}
prometheus :9153
cache 30
reload
}
---
You can’t perform that action at this time.