From 51959e0b1949d11a1ac6aa71d62f4d2b8f727a98 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Wed, 26 Mar 2025 12:24:31 +0100 Subject: [PATCH] Try adding log volume --- ghost-blog/ghost-deployment.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghost-blog/ghost-deployment.yaml b/ghost-blog/ghost-deployment.yaml index 6333b27..e53a61b 100644 --- a/ghost-blog/ghost-deployment.yaml +++ b/ghost-blog/ghost-deployment.yaml @@ -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 \ No newline at end of file