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
|
appVersion: 1.7.3
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
|
|
|
@ -53,10 +53,16 @@ spec:
|
||||||
- mountPath: /app/config.json
|
- mountPath: /app/config.json
|
||||||
name: config
|
name: config
|
||||||
subPath: config.json
|
subPath: config.json
|
||||||
|
{{- with .Values.extraVolumeMounts }}
|
||||||
|
{{- . | toYaml | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ include "element-web.fullname" . }}
|
name: {{ include "element-web.fullname" . }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
{{- . | toYaml | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -28,6 +28,16 @@ defaultServer:
|
||||||
##
|
##
|
||||||
config: {}
|
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.
|
## Configures an application-specific service account.
|
||||||
##
|
##
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
|
Loading…
Reference in a new issue