We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75110f4 commit 0cbcd69Copy full SHA for 0cbcd69
k8chart-dev/oxo2/templates/solr-deployment.yaml
@@ -15,7 +15,16 @@ spec:
15
securityContext:
16
fsGroup: 1000
17
runAsUser: 1000
18
- runAsGroup: 1000
+ runAsGroup: 1000
19
+ initContainers:
20
+ - name: fix-permissions
21
+ image: busybox
22
+ command: ['sh', '-c', 'chown -R 1000:1000 /var/solr']
23
+ securityContext:
24
+ runAsUser: 0
25
+ volumeMounts:
26
+ - name: solr-data
27
+ mountPath: /var/solr
28
containers:
29
- name: solr
30
image: docker.io/library/solr:9.9.0
0 commit comments