mirror of https://github.com/coredns/helm.git
Merge pull request #211 from ampls/default_udp_fix
Fix default ports for dns:// scheme [rebased]
This commit is contained in:
commit
0aecc93a37
|
@ -1,6 +1,6 @@
|
|||
apiVersion: v2
|
||||
name: coredns
|
||||
version: 1.42.0
|
||||
version: 1.42.1
|
||||
appVersion: 1.12.0
|
||||
home: https://coredns.io
|
||||
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
|
||||
|
@ -19,5 +19,5 @@ maintainers:
|
|||
type: application
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: changed
|
||||
description: Added Helm unit tests for CoreDNS chart components
|
||||
- kind: removed
|
||||
description: Removed "istcp" true for default dns:// scheme
|
||||
|
|
|
@ -99,10 +99,9 @@ Generate the list of ports automatically from the server definitions
|
|||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* If none of the zones specify scheme, default to dns:// on both tcp & udp */}}
|
||||
{{/* If none of the zones specify scheme, default to dns:// udp */}}
|
||||
{{- if and (not (index $innerdict "istcp")) (not (index $innerdict "isudp")) -}}
|
||||
{{- $innerdict := set $innerdict "isudp" true -}}
|
||||
{{- $innerdict := set $innerdict "istcp" true -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if .nodePort -}}
|
||||
|
|
Loading…
Reference in New Issue