mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Fix for eikek/docspell#2498. Added init container to fix file permissions for solr.
This commit is contained in:
@ -15,6 +15,16 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: solr
|
app: solr
|
||||||
spec:
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox
|
||||||
|
command:
|
||||||
|
- "sh"
|
||||||
|
- "-c"
|
||||||
|
- "chown -R 8983:8983 /var/solr"
|
||||||
|
volumeMounts:
|
||||||
|
- name: solr-data
|
||||||
|
mountPath: /var/solr
|
||||||
containers:
|
containers:
|
||||||
- name: solr
|
- name: solr
|
||||||
image: solr:9
|
image: solr:9
|
||||||
|
Reference in New Issue
Block a user