Fix for eikek/docspell#2498. Added init container to fix file permissions for solr.

This commit is contained in:
2024-02-15 15:53:34 +01:00
parent 4d62c9680b
commit e5db8cb9b5

View File

@ -15,6 +15,16 @@ spec:
labels:
app: solr
spec:
initContainers:
- name: fix-permissions
image: busybox
command:
- "sh"
- "-c"
- "chown -R 8983:8983 /var/solr"
volumeMounts:
- name: solr-data
mountPath: /var/solr
containers:
- name: solr
image: solr:9