Mount base.html by subPath; ConfigMap ..data dirs crash listmonk

A whole-directory ConfigMap mount puts ..data symlink dirs in
--static-dir, which listmonk refuses to read (CrashLoopBackOff).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 21:52:21 -05:00
co-authored by Claude Opus 5.5
parent a74d580b0a
commit a58a99bf3b
+5 -1
View File
@@ -99,8 +99,12 @@ spec:
volumeMounts:
- name: uploads
mountPath: /listmonk/uploads
# Mount the single file: a ConfigMap directory holds ..data
# symlink dirs that listmonk's static loader refuses to read.
# (Not live-updated; checksum/email rolls the pod instead.)
- name: email-templates
mountPath: /listmonk/static-eom/email-templates
mountPath: /listmonk/static-eom/email-templates/base.html
subPath: base.html
readOnly: true
volumes:
- name: email-templates