1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-09 01:10:10 +01:00
Stirling-PDF/chart/stirling-pdf/templates/pv.yaml
2023-09-20 10:07:11 +02:00

16 lines
514 B
YAML

{{- if .Values.persistence.pv.enabled -}}
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ .Values.persistence.pv.pvname | default (include "stirlingpdf.fullname" .) }}
labels:
{{- include "stirlingpdf.labels" . | nindent 4 }}
spec:
capacity:
storage: {{ .Values.persistence.pv.capacity.storage }}
accessModes:
- {{ .Values.persistence.pv.accessMode | quote }}
nfs:
server: {{ .Values.persistence.pv.nfs.server }}
path: {{ .Values.persistence.pv.nfs.path | quote }}
{{- end }}