Skip to content

Commit 79483ad

Browse files
authored
Merge pull request #217 from ampls/default_udp_fix
Default udp fix
2 parents 4085f74 + 0b7f7dc commit 79483ad

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

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.3
3+
version: 1.42.4
44
appVersion: 1.12.2
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: Upgrade CoreDNS to 1.12.2
22+
- kind: fixed
23+
description: Fix service port removal if `scheme` is not defined, and enable use_tcp for default configuration.

charts/coredns/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Generate the list of ports automatically from the server definitions
8686
TCP: tls://, grpc://, https://
8787
*/}}
8888
{{- range .zones -}}
89-
{{- if has (default "" .scheme) (list "dns://") -}}
89+
{{- if has (default "" .scheme) (list "dns://" "") -}}
9090
{{/* Optionally enable tcp for this service as well */}}
9191
{{- if eq (default false .use_tcp) true }}
9292
{{- $innerdict := set $innerdict "istcp" true -}}
@@ -157,7 +157,7 @@ Generate the list of ports automatically from the server definitions
157157
TCP: tls://, grpc://, https://
158158
*/}}
159159
{{- range .zones -}}
160-
{{- if has (default "" .scheme) (list "dns://") -}}
160+
{{- if has (default "" .scheme) (list "dns://" "") -}}
161161
{{/* Optionally enable tcp for this service as well */}}
162162
{{- if eq (default false .use_tcp) true }}
163163
{{- $innerdict := set $innerdict "istcp" true -}}

charts/coredns/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ securityContext:
107107
servers:
108108
- zones:
109109
- zone: .
110+
use_tcp: true
110111
port: 53
111112
# -- expose the service on a different port
112113
# servicePort: 5353

0 commit comments

Comments
 (0)