Skip to content

Commit

Permalink
chore: ceph prepare (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles authored Oct 1, 2024
1 parent 61c167f commit 821b178
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions charts/datalayer-ceph-storage/templates/users-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ spec:
- |
for DIRECTORY in home public datasets tmp
do
mkdir -p /data/shared/$DIRECTORY
chown $KERNEL_UID:$KERNEL_GID /data/shared/$DIRECTORY
mkdir -p /mnt/ceph/$DIRECTORY
chown $KERNEL_UID:$KERNEL_GID /mnt/ceph/$DIRECTORY
done
sleep 1000
env:
- name: KERNEL_UID
value: "{{ .Values.cephStorage.storageOwner.uid }}"
Expand All @@ -54,10 +55,10 @@ spec:
cpu: 250m
memory: 64Mi
volumeMounts:
- mountPath: /data/shared
name: user-data
- mountPath: /mnt/ceph
name: ceph-data
volumes:
- name: user-data
- name: ceph-data
persistentVolumeClaim:
claimName: {{ .Values.cephStorage.usersPVC }}
readOnly: false

0 comments on commit 821b178

Please sign in to comment.