Skip to content

Commit 9e68704

Browse files
author
Aleksandrs Markevics
committed
chart bump and fix service port removal if scheme not defined
Signed-off-by: Aleksandrs Markevics <amarkevics@onairent.live>
1 parent 4085f74 commit 9e68704

2 files changed

Lines changed: 5 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.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.

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 -}}

0 commit comments

Comments
 (0)