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
|
- 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
|
||||||
@@ -151,4 +160,4 @@ spec:
|
|||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
securityContext:
|
securityContext:
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
Reference in New Issue
Block a user