Skip to content

Commit

Permalink
Run coredns on unpriveledged port by default
Browse files Browse the repository at this point in the history
Signed-off-by: Dinar Valeev <k0da@opensuse.org>
  • Loading branch information
k0da committed Sep 22, 2021
1 parent 77fc3bd commit 2fa603e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stable/coredns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions stable/coredns/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
2 changes: 1 addition & 1 deletion stable/coredns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ priorityClassName: ""
servers:
- zones:
- zone: .
port: 53
port: 5353
plugins:
- name: errors
# Serves a /health endpoint on :8080, required for livenessProbe
Expand Down

0 comments on commit 2fa603e

Please # to comment.