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:
|
volumeMounts:
|
||||||
- name: uploads
|
- name: uploads
|
||||||
mountPath: /listmonk/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
|
- name: email-templates
|
||||||
mountPath: /listmonk/static-eom/email-templates
|
mountPath: /listmonk/static-eom/email-templates/base.html
|
||||||
|
subPath: base.html
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: email-templates
|
- name: email-templates
|
||||||
|
|||||||
Reference in New Issue
Block a user