* feat(helm): add base helm chart Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * chore(ci): ignore helm charts files in prettier Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * chore(ci): ignore helm charts files in prettier Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * chore(ci): prettier ignore charts folder Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * fix: missing capital J Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> --------- Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
20 lines
631 B
YAML
20 lines
631 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: {{ include "jellyseerr.configPersistenceName" . }}
|
|
labels:
|
|
{{- include "jellyseerr.labels" . | nindent 4 }}
|
|
spec:
|
|
{{- with .Values.config.persistence.accessModes }}
|
|
accessModes:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.config.persistence.volumeName }}
|
|
volumeName: {{ .Values.config.persistence.volumeName }}
|
|
{{- end }}
|
|
{{- with .Values.config.persistence.storageClass }}
|
|
storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }}
|
|
{{- end }}
|
|
resources:
|
|
requests:
|
|
storage: "{{ .Values.config.persistence.size }}" |