From 7ec6d76a1b896b817d2902a2d3d37afe3f1c2e7a Mon Sep 17 00:00:00 2001 From: InputObject2 <30133702+InputObject2@users.noreply.github.com> Date: Tue, 21 Nov 2023 23:59:21 -0500 Subject: [PATCH] fix(charts): Added mising pvc for prowlarr --- .../templates/storage-resources.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/helm-charts/k8s-mediaserver/templates/storage-resources.yml b/helm-charts/k8s-mediaserver/templates/storage-resources.yml index e81a429..143077b 100644 --- a/helm-charts/k8s-mediaserver/templates/storage-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/storage-resources.yml @@ -168,3 +168,30 @@ spec: {{- toYaml . | nindent 4 }} {{- end }} {{- end }} + +{{- with .Values.prowlarr.volume }} +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ .name }} + {{ with .annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} + {{ with .labels }} + labels: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + accessModes: + - {{ .accessModes }} + resources: + requests: + storage: {{ .storage }} + storageClassName: {{ .storageClassName }} + {{ with .selector }} + selector: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }}