The current templating logic on the statefulset does not support use of the PVC dynamically created by the claim template when Values.persistence.enabled is true and .Values.persistence.existingClaim is not specified.
Could you please let me know your thoughts about updating the below on the chart:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: {{ $fullName }}
persistentVolumeClaim:
{{- with .Values.persistence.existingClaim }}
claimName: {{ tpl . $ }}
{{- end }}
{{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} # Add
- name: {{ $fullName }} # Add
persistentVolumeClaim: # Add
claimName: {{ $fullName }} # Add
{{- else if not .Values.persistence.enabled }}
- name: {{ $fullName }}
emptyDir: {}
{{- end }}
The current templating logic on the statefulset does not support use of the PVC dynamically created by the claim template when
Values.persistence.enabledis true and.Values.persistence.existingClaimis not specified.Could you please let me know your thoughts about updating the below on the chart: