From c9b25918d50aad498830d1bcb4602482e998ebd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pi=C4=85tkowski?= Date: Wed, 1 Oct 2025 15:03:41 +0200 Subject: [PATCH] chg: add support for PVC selector --- charts/mealie/templates/pvc.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 }}