Skip to content

Commit

Permalink
Update OpenShift docs and fix Ingress configuration, thanks to @klml.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner committed Apr 24, 2024
1 parent b88b569 commit 0682363
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions zammad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,10 @@ zammadConfig:
securityContext:
runAsUser: null
volumePermissions:
command:
- /bin/sh
- -cx
- |
# use an openshift uid owned /tmp for attachments upload
mkdir -pv /opt/zammad/tmp/tmp && chmod -v +t /opt/zammad/tmp/tmp
railsserver:
tmpdir: "/opt/zammad/tmp/tmp"
enabled: false
tmpDirVolume:
emptyDir:
medium: memory

elasticsearch:
sysctlImage:
Expand Down
4 changes: 2 additions & 2 deletions zammad/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ spec:
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
name: zammad-nginx
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
serviceName: zammad-nginx
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 0682363

Please sign in to comment.