Fix for #203 Co-authored-by: techknowlogick <[email protected]> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/204 Reviewed-by: luhahn <[email protected]> Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: skriesch <[email protected]> Co-committed-by: skriesch <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
techknowlogick
parent
6342a4dabd
commit
9e7387f0f8
@@ -244,7 +244,9 @@ spec:
|
|||||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.persistence.existingClaim }}
|
{{- with .Values.persistence.existingClaim }}
|
||||||
|
claimName: {{ tpl . $ }}
|
||||||
|
{{- end }}
|
||||||
{{- else if not .Values.persistence.enabled }}
|
{{- else if not .Values.persistence.enabled }}
|
||||||
- name: data
|
- name: data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user