diff --git a/charts/mealie/templates/pvc.yaml b/charts/mealie/templates/pvc.yaml index b214d9f..d5ce40a 100644 --- a/charts/mealie/templates/pvc.yaml +++ b/charts/mealie/templates/pvc.yaml @@ -18,4 +18,10 @@ spec: resources: requests: storage: {{ .Values.persistence.size | quote }} -{{- end }} \ No newline at end of file + {{- if .Values.persistence.selector }} + {{- with .Values.persistence.selector }} + selector: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- end }} +{{- end }}