add initial helm chart values

This commit is contained in:
Justin Kreller
2024-11-15 16:56:01 +01:00
parent 75a5b2879e
commit 74dcdd16d4
9 changed files with 797 additions and 92 deletions

31
templates/volumeClaim.yml Normal file
View 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 }}