From a58a99bf3bab1ffb63e83e830f1d52ae3393234d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 21:52:21 -0500 Subject: [PATCH] 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 --- templates/listmonk.yml.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/listmonk.yml.j2 b/templates/listmonk.yml.j2 index 4a126f6..54fadf6 100644 --- a/templates/listmonk.yml.j2 +++ b/templates/listmonk.yml.j2 @@ -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