mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-15 01:53:09 -06:00
Allow PVC storageClass to be set per PVC.
Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
This commit is contained in:
parent
b86a049e38
commit
038ad8fea4
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.media.capacity }}
|
storage: {{ .Values.persistence.media.capacity }}
|
||||||
storageClassName: {{ .Values.persistence.storageClass }}
|
storageClassName: {{ default .Values.persistence.storageClass .Values.persistence.media.storageClass }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if not .Values.persistence.jetstream.existingClaim }}
|
{{ if not .Values.persistence.jetstream.existingClaim }}
|
||||||
---
|
---
|
||||||
|
|
@ -28,7 +28,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.jetstream.capacity }}
|
storage: {{ .Values.persistence.jetstream.capacity }}
|
||||||
storageClassName: {{ .Values.persistence.storageClass }}
|
storageClassName: {{ default .Values.persistence.storageClass .Values.persistence.jetstream.storageClass }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if not .Values.persistence.search.existingClaim }}
|
{{ if not .Values.persistence.search.existingClaim }}
|
||||||
---
|
---
|
||||||
|
|
@ -44,5 +44,5 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.search.capacity }}
|
storage: {{ .Values.persistence.search.capacity }}
|
||||||
storageClassName: {{ .Values.persistence.storageClass }}
|
storageClassName: {{ default .Values.persistence.storageClass .Values.persistence.search.storageClass }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
@ -24,24 +24,34 @@ resources:
|
||||||
memory: "4096Mi"
|
memory: "4096Mi"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
# -- The storage class to use for volume claims. Defaults to the
|
# -- The storage class to use for volume claims.
|
||||||
# cluster default storage class.
|
# Used unless specified at the specific component.
|
||||||
|
# Defaults to the cluster default storage class.
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
jetstream:
|
jetstream:
|
||||||
# -- Use an existing volume claim for jetstream
|
# -- Use an existing volume claim for jetstream
|
||||||
existingClaim: ""
|
existingClaim: ""
|
||||||
# -- PVC Storage Request for the jetstream volume
|
# -- PVC Storage Request for the jetstream volume
|
||||||
capacity: "1Gi"
|
capacity: "1Gi"
|
||||||
|
# -- The storage class to use for volume claims.
|
||||||
|
# Defaults to persistence.storageClass
|
||||||
|
storageClass: ""
|
||||||
media:
|
media:
|
||||||
# -- Use an existing volume claim for media files
|
# -- Use an existing volume claim for media files
|
||||||
existingClaim: ""
|
existingClaim: ""
|
||||||
# -- PVC Storage Request for the media volume
|
# -- PVC Storage Request for the media volume
|
||||||
capacity: "1Gi"
|
capacity: "1Gi"
|
||||||
|
# -- The storage class to use for volume claims.
|
||||||
|
# Defaults to persistence.storageClass
|
||||||
|
storageClass: ""
|
||||||
search:
|
search:
|
||||||
# -- Use an existing volume claim for the fulltext search index
|
# -- Use an existing volume claim for the fulltext search index
|
||||||
existingClaim: ""
|
existingClaim: ""
|
||||||
# -- PVC Storage Request for the search volume
|
# -- PVC Storage Request for the search volume
|
||||||
capacity: "1Gi"
|
capacity: "1Gi"
|
||||||
|
# -- The storage class to use for volume claims.
|
||||||
|
# Defaults to persistence.storageClass
|
||||||
|
storageClass: ""
|
||||||
|
|
||||||
# -- Add additional volumes to the Dendrite Pod
|
# -- Add additional volumes to the Dendrite Pod
|
||||||
extraVolumes: []
|
extraVolumes: []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue