2023-11-23 18:34:57 +08:00
|
|
|
{{- if eq .Values.ONLYOFFICE_ENABLED "yes" }}
|
2022-12-22 20:29:31 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-onlyoffice
|
|
|
|
name: nextcloud-aio-onlyoffice
|
2024-02-29 02:30:56 +08:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
|
|
|
{{- if .Values.STORAGE_CLASS }}
|
|
|
|
storageClassName: {{ .Values.STORAGE_CLASS }}
|
|
|
|
{{- end }}
|
|
|
|
accessModes:
|
2023-01-28 23:23:46 +08:00
|
|
|
- ReadWriteOnce
|
2022-12-22 20:29:31 +08:00
|
|
|
resources:
|
|
|
|
requests:
|
2023-02-01 19:35:40 +08:00
|
|
|
storage: {{ .Values.ONLYOFFICE_STORAGE_SIZE }}
|
2023-11-23 18:34:57 +08:00
|
|
|
{{- end }}
|