Files
koha/templates/volumeClaim.yml

31 lines
570 B
YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: koha-pvc
namespace: koha
labels:
app: koha
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 24Gi
storageClassName: {{ .Values.storage.storageClassName }}
{{ if not .Values.db.external }}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: koha-mysql-pvc
namespace: koha
labels:
app: koha
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 30Gi
storageClassName: {{ .Values.storage.storageClassName }}
{{ end }}