diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index bb57b11..b3555df 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.15.2 +version: 1.15.3 appVersion: 1.8.0 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png diff --git a/stable/coredns/templates/_helpers.tpl b/stable/coredns/templates/_helpers.tpl index 3e262d1..0602bf4 100644 --- a/stable/coredns/templates/_helpers.tpl +++ b/stable/coredns/templates/_helpers.tpl @@ -69,10 +69,10 @@ Generate the list of ports automatically from the server definitions {{/* Write out the ports according to the info collected above */}} {{- range $port, $innerdict := $ports -}} {{- if index $innerdict "isudp" -}} - {{- printf "- {port: %v, protocol: UDP, name: udp-%s}\n" $port $port -}} + {{- printf "- {port: 53, targetPort: %v, protocol: UDP, name: udp-%s}\n" $port $port -}} {{- end -}} {{- if index $innerdict "istcp" -}} - {{- printf "- {port: %v, protocol: TCP, name: tcp-%s}\n" $port $port -}} + {{- printf "- {port: 53, targetPort: %v, protocol: TCP, name: tcp-%s}\n" $port $port -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/stable/coredns/values.yaml b/stable/coredns/values.yaml index 16b1386..d8e3bbf 100644 --- a/stable/coredns/values.yaml +++ b/stable/coredns/values.yaml @@ -95,7 +95,7 @@ priorityClassName: "" servers: - zones: - zone: . - port: 53 + port: 5353 plugins: - name: errors # Serves a /health endpoint on :8080, required for livenessProbe