Skip to content

Commit

Permalink
Fix for eikek#2498. Added init container to fix file permissions for …
Browse files Browse the repository at this point in the history
…solr.
  • Loading branch information
TheAnachronism committed Feb 15, 2024
1 parent 4d62c96 commit e5db8cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kubernetes/solr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5db8cb

Please sign in to comment.