Try adding log volume

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