de8c462d by Adam Heath

Add knobs to set the size of the pvcs(log, txlog, sessions).

1 parent a233cf95
name: test
namespace: default
storage:
log:
requests: 10Gi
storageClassName: null
txlog:
requests: 2Gi
storageClassName: null
sessions:
requests: 2Gi
storageClassName: null
elasticsearch:
enabled: true
version: 8.2.3
......
......@@ -144,6 +144,42 @@ releases:
{{- end }}
strategicMergePatches:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Values.name }}-moqui-log
namespace: {{ .Values.namespace }}
spec:
resources:
requests:
storage: {{ .Values.storage.log.requests }}
{{- if .Values.storage.log.storageClassName }}
storageClassName: {{ .Values.storage.log.storageClassName }}
{{- end }}
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Values.name }}-moqui-txlog
namespace: {{ .Values.namespace }}
spec:
resources:
requests:
storage: {{ .Values.storage.txlog.requests }}
{{- if .Values.storage.txlog.storageClassName }}
storageClassName: {{ .Values.storage.txlog.storageClassName }}
{{- end }}
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Values.name }}-moqui-sessions
namespace: {{ .Values.namespace }}
spec:
resources:
requests:
storage: {{ .Values.storage.sessions.requests }}
{{- if .Values.storage.sessions.storageClassName }}
storageClassName: {{ .Values.storage.sessions.storageClassName }}
{{- end }}
- apiVersion: apps/v1
kind: Deployment
metadata:
......