matrix-synapse: Add support for extra volumes
This commit is contained in:
parent
6abb3b82f5
commit
7fccfe3a7a
3 changed files with 23 additions and 7 deletions
|
@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
|||
appVersion: 1.18.0
|
||||
|
||||
type: application
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
|
|
@ -99,6 +99,9 @@ spec:
|
|||
mountPath: /synapse/keys
|
||||
- name: media
|
||||
mountPath: /synapse/data
|
||||
{{- with .Values.synapse.extraVolumeMounts }}
|
||||
{{- . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.synapse.resources | nindent 12 }}
|
||||
volumes:
|
||||
|
@ -129,6 +132,9 @@ spec:
|
|||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.synapse.extraVolumes }}
|
||||
{{- . | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.synapse.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
|
|
@ -144,6 +144,20 @@ synapse:
|
|||
# - name: SYNAPSE_CACHE_FACTOR
|
||||
# value: "2"
|
||||
|
||||
## Additional volumes to mount into Synapse
|
||||
##
|
||||
extraVolumes: {}
|
||||
# - name: spamcheck
|
||||
# flexVolume:
|
||||
# driver: ananace/git-live
|
||||
# options:
|
||||
# repo: https://github.com/company/synapse-module
|
||||
# interval: 1d
|
||||
# readOnly: true
|
||||
extraVolumeMounts: {}
|
||||
# - name: spamcheck
|
||||
# mountPath: /usr/local/lib/python3.7/site-packages/company
|
||||
|
||||
## Configuration for the pod security policy, Synapse will by always run as
|
||||
## its own user, even if not set.
|
||||
## Note that changing this may also require you to use the volumePermission
|
||||
|
@ -221,15 +235,11 @@ workers:
|
|||
# - name: SYNAPSE_CACHE_FACTOR
|
||||
# value: "1.0"
|
||||
|
||||
## Additional volume mounts to add to the worker.
|
||||
## Useful for the media repo.
|
||||
##
|
||||
volumeMounts: {}
|
||||
|
||||
## Additional volumes to add to the worker.
|
||||
## Useful for the media repo.
|
||||
## Useful for the media repo, or for adding Python modules.
|
||||
##
|
||||
volumes: {}
|
||||
volumeMounts: {}
|
||||
|
||||
## Security context information to set to the worker.
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue