add initial helm chart values
This commit is contained in:
31
templates/volumeClaim.yml
Normal file
31
templates/volumeClaim.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: koha-{{ .Values.instance }}-pvc
|
||||
namespace: koha-{{ .Values.instance }}
|
||||
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-{{ .Values.instance }}-mysql-pvc
|
||||
namespace: koha-{{ .Values.instance }}
|
||||
labels:
|
||||
app: koha
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
storageClassName: {{ .Values.storage.storageClassName }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user