Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions zammad/templates/configmap-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ data:
}

server {
{{- if .Values.zammadConfig.nginx.listenIpv4 }}
listen 8080;
{{- end }}
{{- if .Values.zammadConfig.nginx.listenIpv6 }}
listen [::]:8080;
{{- end }}

server_name _;

Expand Down
2 changes: 1 addition & 1 deletion zammad/templates/deployment-railsserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
- "exec"
- "puma"
- "-b"
- "tcp://[::]:3000"
- "tcp://{{ .Values.zammadConfig.railsserver.listenAddress }}:3000"
- "-w"
- "{{ .Values.zammadConfig.railsserver.webConcurrency }}"
- "-e"
Expand Down
2 changes: 1 addition & 1 deletion zammad/templates/deployment-websocket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- "exec"
- "script/websocket-server.rb"
- "-b"
- "0.0.0.0"
- "{{ .Values.zammadConfig.websocket.listenAddress }}"
- "-p"
- "6042"
- "start"
Expand Down
4 changes: 4 additions & 0 deletions zammad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ zammadConfig:
# Maximum upload size
clientMaxBodySize: 50M
knowledgeBaseUrl: ""
listenIpv4: true
listenIpv6: true
startupProbe:
tcpSocket:
port: 8080
Expand Down Expand Up @@ -219,6 +221,7 @@ zammadConfig:
# can be used to add additional containers / sidecars
sidecars: []
trustedProxies: "['127.0.0.1', '::1']"
listenAddress: "[::]"
webConcurrency: 0
# tmpdir will be used by all Zammad/Rails containers
tmpdir: "/opt/zammad/tmp"
Expand Down Expand Up @@ -371,6 +374,7 @@ zammadConfig:
- ALL
readOnlyRootFilesystem: true
privileged: false
listenAddress: "::"
# can be used to add additional containers / sidecars
sidecars: []
podLabels: {}
Expand Down
Loading