mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01: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 }}
|