Try adding log volume

This commit is contained in:
Ruben Hensen
2025-03-26 12:24:31 +01:00
parent 95b3486843
commit 51959e0b19
+9
View File
@@ -41,6 +41,9 @@ spec:
- name: tmp - name: tmp
emptyDir: emptyDir:
sizeLimit: 64Mi sizeLimit: 64Mi
- name: ghost-logs
emptyDir:
sizeLimit: 256Mi
initContainers: initContainers:
- name: permissions-fix - name: permissions-fix
@@ -83,6 +86,9 @@ spec:
- name: ghost-content - name: ghost-content
mountPath: /home/nonroot/app/ghost/content mountPath: /home/nonroot/app/ghost/content
readOnly: false readOnly: false
- name: ghost-logs
mountPath: /home/nonroot/app/ghost/versions/5.114.0/content/logs
readOnly: false
containers: containers:
- name: ghost-blog - name: ghost-blog
@@ -141,6 +147,9 @@ spec:
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
readOnly: false readOnly: false
- name: ghost-logs
mountPath: /home/nonroot/app/ghost/versions/5.114.0/content/logs
readOnly: false
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
allowPrivilegeEscalation: false allowPrivilegeEscalation: false