forked from ab/homelab
Update k8s/apps/hexound/deployment.yaml
This commit is contained in:
@@ -16,6 +16,8 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: hexound-repo
|
- name: hexound-repo
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: tmp-dir
|
||||||
|
emptyDir: {}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: git-cloner
|
- name: git-cloner
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
@@ -35,6 +37,8 @@ spec:
|
|||||||
- name: hexound-repo
|
- name: hexound-repo
|
||||||
mountPath: /var/www/html
|
mountPath: /var/www/html
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: tmp-dir
|
||||||
|
mountPath: /tmp
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
Reference in New Issue
Block a user