Skip to content

Commit

Permalink
fix(charts): Added missing pvc for prowlarr
Browse files Browse the repository at this point in the history
fix(charts): Added missing pvc for prowlarr
  • Loading branch information
kubealex authored Nov 25, 2023
2 parents 6e4a870 + 7ec6d76 commit 20a5e45
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions helm-charts/k8s-mediaserver/templates/storage-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 20a5e45

Please sign in to comment.