fix(iam): give the SMTP->Gotify relay a writable /tmp

The relay stages each message in /tmp before pushing. readOnlyRootFilesystem
left it with a read-only /tmp, so it answered '250 queued' and then dropped the
message: no Gotify push, no error line. Mount an emptyDir at /tmp.
This commit is contained in:
2026-10-26 23:38:29 -07:00
parent 468ed16737
commit 37933de756
+9
View File
@@ -36,6 +36,9 @@ spec:
runAsGroup: 65534
seccompProfile:
type: RuntimeDefault
volumes:
- name: tmp
emptyDir: {}
containers:
- name: smtp-gotify
image: quay.io/reiml/smtp-gotify:latest
@@ -58,6 +61,12 @@ spec:
- name: smtp
containerPort: 2525
protocol: TCP
volumeMounts:
# The relay stages each message in /tmp before the Gotify push.
# With readOnlyRootFilesystem it accepted SMTP (250 queued) and
# then silently dropped the message: no push, no error.
- name: tmp
mountPath: /tmp
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true