Skip to content

Commit d0c6c61

Browse files
excilerAndreas Palmmonotekmgruner
authored
improve IPv6 Support (#377)
* improve IPv6 Support - add values to change listenAddresses for railsserver and websocket - make nginx also listen on IPv6 and add values to disable IPv4/IPv6 Signed-off-by: Andreas Palm <ap@ewsp.de> * bump version to 15.3.0 Signed-off-by: Andreas Palm <ap@ewsp.de> * Bump Zammad version to 15.4.0 --------- Signed-off-by: Andreas Palm <ap@ewsp.de> Co-authored-by: Andreas Palm <ap@ewsp.de> Co-authored-by: André Bauer <monotek@users.noreply.github.com> Co-authored-by: Martin Gruner <mg@zammad.com>
1 parent d0d1dad commit d0c6c61

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

zammad/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: zammad
3-
version: 15.3.0
3+
version: 15.4.0
44
appVersion: 6.5.2-22
55
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
66
home: https://zammad.org

zammad/templates/configmap-nginx.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ data:
2323
}
2424
2525
server {
26+
{{- if .Values.zammadConfig.nginx.listenIpv4 }}
2627
listen 8080;
28+
{{- end }}
29+
{{- if .Values.zammadConfig.nginx.listenIpv6 }}
30+
listen [::]:8080;
31+
{{- end }}
2732
2833
server_name _;
2934

zammad/templates/deployment-railsserver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
- "exec"
5656
- "puma"
5757
- "-b"
58-
- "tcp://[::]:3000"
58+
- "tcp://{{ .Values.zammadConfig.railsserver.listenAddress }}:3000"
5959
- "-w"
6060
- "{{ .Values.zammadConfig.railsserver.webConcurrency }}"
6161
- "-e"

zammad/templates/deployment-websocket.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
- "exec"
4646
- "script/websocket-server.rb"
4747
- "-b"
48-
- "0.0.0.0"
48+
- "{{ .Values.zammadConfig.websocket.listenAddress }}"
4949
- "-p"
5050
- "6042"
5151
- "start"

zammad/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ zammadConfig:
105105
# Maximum upload size
106106
clientMaxBodySize: 50M
107107
knowledgeBaseUrl: ""
108+
listenIpv4: true
109+
listenIpv6: true
108110
startupProbe:
109111
tcpSocket:
110112
port: 8080
@@ -223,6 +225,7 @@ zammadConfig:
223225
# can be used to add additional containers / sidecars
224226
sidecars: []
225227
trustedProxies: "['127.0.0.1', '::1']"
228+
listenAddress: "[::]"
226229
webConcurrency: 0
227230
# tmpdir will be used by all Zammad/Rails containers
228231
tmpdir: "/opt/zammad/tmp"
@@ -375,6 +378,7 @@ zammadConfig:
375378
- ALL
376379
readOnlyRootFilesystem: true
377380
privileged: false
381+
listenAddress: "::"
378382
# can be used to add additional containers / sidecars
379383
sidecars: []
380384
podLabels: {}

0 commit comments

Comments
 (0)