[matrix] change to modifyable storage size/classes
This commit is contained in:
parent
0af22cfdf1
commit
ab8ef088a3
3 changed files with 21 additions and 10 deletions
|
@ -7,8 +7,8 @@ spec:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 50Mi
|
storage: {{ .Values.storage.letsencrypt.size }}
|
||||||
storageClassName: rook-cephfs
|
storageClassName: {{ .Values.storage.letsencrypt.storageClass }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -19,8 +19,8 @@ spec:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 50Mi
|
storage: {{ .Values.storage.letsencrypt.size }}
|
||||||
storageClassName: rook-cephfs
|
storageClassName: {{ .Values.storage.letsencrypt.storageClass }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -31,8 +31,8 @@ spec:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: {{ .Values.storage.data.size }}
|
||||||
storageClassName: rook-cephfs
|
storageClassName: {{ .Values.storage.data.storageClass }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -43,5 +43,5 @@ spec:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 500Mi
|
storage: {{ .Values.storage.db.size }}
|
||||||
storageClassName: rook-ceph-block
|
storageClassName: {{ .Values.storage.db.storageClass }}
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
- "-m"
|
- "-m"
|
||||||
- "synapse.app.homeserver"
|
- "synapse.app.homeserver"
|
||||||
- "--config-path"
|
- "--config-path"
|
||||||
- "/conf"
|
- "/config-ro"
|
||||||
- "--keys-directory"
|
- "--keys-directory"
|
||||||
- "/data"
|
- "/data"
|
||||||
- "--generate-keys"
|
- "--generate-keys"
|
||||||
|
@ -32,7 +32,7 @@ spec:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: "/data"
|
mountPath: "/data"
|
||||||
- name: synapse-conf
|
- name: synapse-conf
|
||||||
mountPath: "/conf"
|
mountPath: "/config-ro"
|
||||||
containers:
|
containers:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: ungleich/ungleich-certbot:1.1.1
|
image: ungleich/ungleich-certbot:1.1.1
|
||||||
|
|
|
@ -16,3 +16,14 @@ homeServerFQDN: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.{{ .Values.clu
|
||||||
|
|
||||||
postgresUser: "matrix-synapse"
|
postgresUser: "matrix-synapse"
|
||||||
postgresDBName: "matrix-synapse"
|
postgresDBName: "matrix-synapse"
|
||||||
|
|
||||||
|
storage:
|
||||||
|
data:
|
||||||
|
size: 20Gi
|
||||||
|
storageClass: rook-ceph-block-hdd
|
||||||
|
db:
|
||||||
|
size: 20Gi
|
||||||
|
storageClass: rook-ceph-block-ssd
|
||||||
|
letsencrypt:
|
||||||
|
size: 50Mi
|
||||||
|
storageClass: rook-ceph-block-hdd
|
||||||
|
|
Loading…
Reference in a new issue