mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 11:33:17 +00:00
9 lines
266 B
Smarty
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 -}}
|