Skip to content

Commit

Permalink
Solves #24. Run init container to make glassfish the owner of data di…
Browse files Browse the repository at this point in the history
…rectory.
  • Loading branch information
poikilotherm committed Apr 8, 2019
1 parent 7e4c7c7 commit d57d675
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions k8s/dataverse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ spec:
httpGet:
path: /robots.txt
port: 8080
initContainers:
- name: volume-mount-hack
image: busybox
command: ["sh", "-c", "chown -c 1000:1000 /data"]
volumeMounts:
- name: files
mountPath: /data
volumes:
- name: files
persistentVolumeClaim:
Expand Down

0 comments on commit d57d675

Please sign in to comment.