forked from ab/homelab
Update k8s/apps/hexound/deployment.yaml
This commit is contained in:
@ -18,6 +18,10 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: tmp-dir
|
- name: tmp-dir
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: run-dir
|
||||||
|
emptyDir: {}
|
||||||
|
- name: nginx-logs
|
||||||
|
emptyDir: {}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: git-cloner
|
- name: git-cloner
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
@ -39,6 +43,10 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: tmp-dir
|
- name: tmp-dir
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
|
- name: run-dir
|
||||||
|
mountPath: /run
|
||||||
|
- name: nginx-logs
|
||||||
|
mountPath: /var/lib/nginx/logs
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
Reference in New Issue
Block a user