mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-09-12 07:30:13 +02:00
16 lines
514 B
YAML
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 }} |