Skip to content

Commit d42d32b

Browse files
authored
Merge pull request #214 from ampls/default_udp_fix
Fix default ports for dns:// scheme of coredns.containerPorts definition
2 parents 0aecc93 + 3065378 commit d42d32b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

charts/coredns/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.42.1
3+
version: 1.42.2
44
appVersion: 1.12.0
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -20,4 +20,4 @@ type: application
2020
annotations:
2121
artifacthub.io/changes: |
2222
- kind: removed
23-
description: Removed "istcp" true for default dns:// scheme
23+
description: Removed "istcp" true for default dns:// scheme in "coredns.containerPorts" definition.

charts/coredns/templates/_helpers.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,9 @@ Generate the list of ports automatically from the server definitions
170170
{{- end -}}
171171
{{- end -}}
172172

173-
{{/* If none of the zones specify scheme, default to dns:// on both tcp & udp */}}
173+
{{/* If none of the zones specify scheme, default to dns:// udp */}}
174174
{{- if and (not (index $innerdict "istcp")) (not (index $innerdict "isudp")) -}}
175175
{{- $innerdict := set $innerdict "isudp" true -}}
176-
{{- $innerdict := set $innerdict "istcp" true -}}
177176
{{- end -}}
178177

179178
{{- if .hostPort -}}

0 commit comments

Comments
 (0)