File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : coredns
3- version : 1.42.3
3+ version : 1.42.4
44appVersion : 1.12.2
55home : https://coredns.io
66icon : https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,5 @@ maintainers:
1919type : application
2020annotations :
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.
Original file line number Diff line number Diff 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 -} }
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ securityContext:
107107servers :
108108- zones :
109109 - zone : .
110+ use_tcp : true
110111 port : 53
111112 # -- expose the service on a different port
112113 # servicePort: 5353
You can’t perform that action at this time.
0 commit comments