Files

9 lines
266 B
Smarty

{{/* PVC name to mount: existing claim if set, otherwise the chart-created one */}}
{{- define "pocket-id.pvcName" -}}
{{- if .Values.persistence.existingClaim -}}
{{ .Values.persistence.existingClaim }}
{{- else -}}
{{ .Release.Name }}-data
{{- end -}}
{{- end -}}