element-web: Add support for adding extra volumes
This commit is contained in:
parent
c3032aa1f7
commit
6abb3b82f5
3 changed files with 17 additions and 1 deletions
|
@ -10,7 +10,7 @@ icon: https://element.io/images/element-logo.svg
|
|||
appVersion: 1.7.3
|
||||
|
||||
type: application
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
|
|
|
@ -53,10 +53,16 @@ spec:
|
|||
- mountPath: /app/config.json
|
||||
name: config
|
||||
subPath: config.json
|
||||
{{- with .Values.extraVolumeMounts }}
|
||||
{{- . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: {{ include "element-web.fullname" . }}
|
||||
{{- with .Values.extraVolumes }}
|
||||
{{- . | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
|
|
@ -28,6 +28,16 @@ defaultServer:
|
|||
##
|
||||
config: {}
|
||||
|
||||
## Configuration for mounting additional volumes into the application container.
|
||||
##
|
||||
extraVolumes: {}
|
||||
# - name: backgrounds
|
||||
# persistentVolumeClaim:
|
||||
# claimName: element-backgrounds
|
||||
extraVolumeMounts: {}
|
||||
# - name: backgrounds
|
||||
# mountPath: /app/themes/element/img/backgrounds/
|
||||
|
||||
## Configures an application-specific service account.
|
||||
##
|
||||
serviceAccount:
|
||||
|
|
Loading…
Reference in a new issue