mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Try adding log volume
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user