Skip to content

Commit

Permalink
Merge pull request #7562 from sapcc/d073579/unbound-maintenance
Browse files Browse the repository at this point in the history
[unbound] introducing multiple external ports
  • Loading branch information
vssldmtrv authored Dec 17, 2024
2 parents 1b696c3 + 81dd88d commit c05c9e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions system/unbound/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ spec:
app: {{ .Values.unbound.name }}
type: dns
ports:
- name: dns-tcp
{{- range $.Values.unbound.externalPorts | required ".Values.unbound.externalPorts missing" }}
- name: dns-tcp-{{.}}
protocol: TCP
port: 53
port: {{.}}
targetPort: dns-tcp
- name: dns-udp
- name: dns-udp-{{.}}
protocol: UDP
port: 53
port: {{.}}
targetPort: dns-udp
{{- end }}
externalIPs:
{{- required "A valid .Values.unbound.externalIPs required!" .Values.unbound.externalIPs | toYaml | nindent 2 }}
3 changes: 3 additions & 0 deletions system/unbound/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ unbound:
tsig:
keyname: "tsig-key"

externalPorts:
- 53

resources:
unbound:
requests:
Expand Down

0 comments on commit c05c9e3

Please sign in to comment.