Skip to content

Commit 466e52e

Browse files
committed
Fixing missing mounting for main container #19
1 parent ab6421f commit 466e52e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

charts/cryptpad/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type: application
2121
# This is the chart version. This version number should be incremented each time you make changes
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
24-
version: 0.0.12
24+
version: 0.0.13
2525

2626
# This is the version number of the application being deployed. This version number should be
2727
# incremented each time you make changes to the application. Versions are not expected to

charts/cryptpad/templates/cryptpad.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ spec:
102102
claimName: {{ tpl $dirvalues.existingClaim $ }}
103103
{{- end }}
104104
{{- end }}
105+
{{- else if not .Values.workloadStateful }}
106+
{{- range $dir, $dirvalues := .Values.persistence.cryptpad }}
107+
- name: cryptpad-{{ $dir }}
108+
mountPath: /cryptpad/{{ $dir }}
109+
{{- end }}
105110
{{- end }}
106111
- name: configmaps
107112
mountPath: {{ .Values.cpadConfig }}

0 commit comments

Comments
 (0)