File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff 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.11
24+ version : 0.0.12
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
Original file line number Diff line number Diff line change 4646 volumeMounts :
4747 - name : cryptpad-data
4848 mountPath : /cryptpad/data
49- {{- if .Values.persistence.cryptpad.data.existingClaim }}
49+ {{- if and .Values.persistence .Values.persistence.cryptpad.data.existingClaim }}
5050 persistentVolumeClaim :
5151 claimName : {{ tpl .Values.persistence.cryptpad.data.existingClaim $ }}
5252 {{- end }}
@@ -167,11 +167,15 @@ spec:
167167 {{- end }}
168168 {{- end }}
169169 {{- end }}
170- {{- end }}
171- {{- if and .Values.persistence.enabled (not .Values.workloadStateful) }}
170+ {{- else if .Values.persistence.enabled }}
172171 {{- range $dir, $dirvalues := .Values.persistence.cryptpad }}
173172 - name : cryptpad-{{ $dir }}
174173 persistentVolumeClaim :
175174 claimName : cryptpad-{{ $dir }}
176175 {{- end }}
176+ {{- else }}
177+ {{- range $dir, $dirvalues := .Values.persistence.cryptpad }}
178+ - name : cryptpad-{{ $dir }}
179+ emptyDir : {}
180+ {{- end }}
177181{{- end }}
You can’t perform that action at this time.
0 commit comments