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
|
appVersion: 1.18.0
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
email: ace@haxalot.com
|
email: ace@haxalot.com
|
||||||
|
|
|
@ -99,6 +99,9 @@ spec:
|
||||||
mountPath: /synapse/keys
|
mountPath: /synapse/keys
|
||||||
- name: media
|
- name: media
|
||||||
mountPath: /synapse/data
|
mountPath: /synapse/data
|
||||||
|
{{- with .Values.synapse.extraVolumeMounts }}
|
||||||
|
{{- . | toYaml | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.synapse.resources | nindent 12 }}
|
{{- toYaml .Values.synapse.resources | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -129,6 +132,9 @@ spec:
|
||||||
{{- else }}
|
{{- else }}
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.synapse.extraVolumes }}
|
||||||
|
{{- . | toYaml | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.synapse.nodeSelector }}
|
{{- with .Values.synapse.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -144,6 +144,20 @@ synapse:
|
||||||
# - name: SYNAPSE_CACHE_FACTOR
|
# - name: SYNAPSE_CACHE_FACTOR
|
||||||
# value: "2"
|
# 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
|
## Configuration for the pod security policy, Synapse will by always run as
|
||||||
## its own user, even if not set.
|
## its own user, even if not set.
|
||||||
## Note that changing this may also require you to use the volumePermission
|
## Note that changing this may also require you to use the volumePermission
|
||||||
|
@ -221,15 +235,11 @@ workers:
|
||||||
# - name: SYNAPSE_CACHE_FACTOR
|
# - name: SYNAPSE_CACHE_FACTOR
|
||||||
# value: "1.0"
|
# value: "1.0"
|
||||||
|
|
||||||
## Additional volume mounts to add to the worker.
|
|
||||||
## Useful for the media repo.
|
|
||||||
##
|
|
||||||
volumeMounts: {}
|
|
||||||
|
|
||||||
## Additional volumes to add to the worker.
|
## Additional volumes to add to the worker.
|
||||||
## Useful for the media repo.
|
## Useful for the media repo, or for adding Python modules.
|
||||||
##
|
##
|
||||||
volumes: {}
|
volumes: {}
|
||||||
|
volumeMounts: {}
|
||||||
|
|
||||||
## Security context information to set to the worker.
|
## Security context information to set to the worker.
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue