mirror of
https://github.com/maubot/maubot
synced 2025-08-29 15:40:37 +00:00
Add simple helm chart
This commit is contained in:
parent
91f214819a
commit
0938675fc2
15 changed files with 909 additions and 0 deletions
18
helm/templates/pvc.yaml
Normal file
18
helm/templates/pvc.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{- if .Values.persistence.enabled }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: maubot-data
|
||||
labels:
|
||||
{{ include "maubot.labels" . | indent 4 }}
|
||||
annotations:
|
||||
spec:
|
||||
accessModes:
|
||||
{{- range .Values.persistence.accessModes }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.size | quote }}
|
||||
storageClassName: {{ default "longhorn" .Values.persistence.storageClassName }}
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue