Skip to content

Commit

Permalink
fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Jul 2, 2024
1 parent df2698b commit b566a27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/cryptpad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cryptpad
description: A Helm chart for cryptpad
type: application

version: 0.0.7
version: 0.0.8

# App metadata
appVersion: "2024.3.1"
Expand Down
12 changes: 9 additions & 3 deletions charts/cryptpad/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@ spec:
initContainers:
- name: init-pvc-permissions
image: cubebackup/cubebackup
command: ["/bin/sh", "-c", "chown 4001:4001 /cryptpad/data && chown 4001:4001 /cryptpad/blob && chown 4001:4001 /cryptpad/block && chown 4001:4001 /cryptpad/datastore"]
command: ["/bin/sh", "-c", "chown 4001:4001 /data && chown 4001:4001 /blob && chown 4001:4001 /block && chown 4001:4001 /datastore"]
volumeMounts:
- name: vol-config
mountPath: /tmp
- name: blob
mountPath: /blob
- name: block
mountPath: /block
- name: datastore
mountPath: /data
- name: files
mountPath: /datastore
containers:
- name: {{ .Release.Name }}-cryptpad
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down

0 comments on commit b566a27

Please sign in to comment.