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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user