Skip to content

Commit 0aecc93

Browse files
authored
Merge pull request #211 from ampls/default_udp_fix
Fix default ports for dns:// scheme [rebased]
2 parents 4c82b68 + f1dcde8 commit 0aecc93

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

charts/coredns/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.42.0
3+
version: 1.42.1
44
appVersion: 1.12.0
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,5 @@ maintainers:
1919
type: application
2020
annotations:
2121
artifacthub.io/changes: |
22-
- kind: changed
23-
description: Added Helm unit tests for CoreDNS chart components
22+
- kind: removed
23+
description: Removed "istcp" true for default dns:// scheme

charts/coredns/templates/_helpers.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,9 @@ Generate the list of ports automatically from the server definitions
9999
{{- end -}}
100100
{{- end -}}
101101

102-
{{/* If none of the zones specify scheme, default to dns:// on both tcp & udp */}}
102+
{{/* If none of the zones specify scheme, default to dns:// udp */}}
103103
{{- if and (not (index $innerdict "istcp")) (not (index $innerdict "isudp")) -}}
104104
{{- $innerdict := set $innerdict "isudp" true -}}
105-
{{- $innerdict := set $innerdict "istcp" true -}}
106105
{{- end -}}
107106

108107
{{- if .nodePort -}}

0 commit comments

Comments
 (0)