[matrix] begin cleanup
This commit is contained in:
parent
e016e10bf8
commit
034885e016
3 changed files with 24 additions and 27 deletions
|
@ -1,15 +1,6 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: matrix
|
name: ungleich-matrix
|
||||||
description: ungleich managed matrix
|
description: ungleich managed matrix
|
||||||
|
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
|
||||||
#
|
|
||||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
|
||||||
# to be deployed.
|
|
||||||
#
|
|
||||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
|
||||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
|
||||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
|
@ -21,4 +12,4 @@ version: 0.1.0
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "1.37.1"
|
appVersion: "1.38.0"
|
||||||
|
|
|
@ -48,7 +48,7 @@ spec:
|
||||||
mountPath: "/var/lib/postgresql/data"
|
mountPath: "/var/lib/postgresql/data"
|
||||||
subPath: postgres
|
subPath: postgres
|
||||||
- name: matrix
|
- name: matrix
|
||||||
image: matrixdotorg/synapse:v1.37.1
|
image: matrixdotorg/synapse:v{{ .Values.synapseVersion }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8008
|
- containerPort: 8008
|
||||||
env:
|
env:
|
||||||
|
@ -86,8 +86,6 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- port: 22
|
|
||||||
name: ssh
|
|
||||||
# Required for letsencrypt
|
# Required for letsencrypt
|
||||||
- port: 80
|
- port: 80
|
||||||
name: http
|
name: http
|
||||||
|
@ -95,13 +93,6 @@ spec:
|
||||||
name: https
|
name: https
|
||||||
selector:
|
selector:
|
||||||
use-as-service: {{ .Release.Name }}
|
use-as-service: {{ .Release.Name }}
|
||||||
# ---
|
|
||||||
# apiVersion: v1
|
|
||||||
# kind: ConfigMap
|
|
||||||
# metadata:
|
|
||||||
# name: {{ tpl .Values.identifier . }}-matrixconfig
|
|
||||||
# data:
|
|
||||||
# {{ tpl (.Files.Glob "matrix/*").AsConfig . | indent 2 }}
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -189,7 +180,7 @@ data:
|
||||||
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
|
||||||
|
|
||||||
client_max_body_size 256m;
|
client_max_body_size {{ .Values.max_filesize_in_mb }}m;
|
||||||
|
|
||||||
location ~ /_matrix|/_synapse {
|
location ~ /_matrix|/_synapse {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -234,7 +225,7 @@ data:
|
||||||
- '127.0.0.1'
|
- '127.0.0.1'
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- names: [federation,client,metrics]
|
- names: [federation,client]
|
||||||
compress: false
|
compress: false
|
||||||
- port: 9093
|
- port: 9093
|
||||||
bind_addresses:
|
bind_addresses:
|
||||||
|
@ -259,8 +250,8 @@ data:
|
||||||
|
|
||||||
enable_media_repo: true
|
enable_media_repo: true
|
||||||
media_store_path: "/data"
|
media_store_path: "/data"
|
||||||
max_upload_size: "100M"
|
max_upload_size: "{{ .Values.max_filesize_in_mb }}M"
|
||||||
enable_registration: false
|
enable_registration: {{ .Values.enable_registration }}
|
||||||
|
|
||||||
log.yaml: |
|
log.yaml: |
|
||||||
version: 1
|
version: 1
|
||||||
|
|
|
@ -10,7 +10,22 @@ fqdn: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain
|
||||||
# This needs delegation / configuration on fn.nf
|
# This needs delegation / configuration on fn.nf
|
||||||
server_name: "fn.nf"
|
server_name: "fn.nf"
|
||||||
|
|
||||||
# Full URL
|
# Full URL -- for later, when external domains are supported
|
||||||
web_client_location: "https://TBD"
|
# web_client_location: "https://TBD"
|
||||||
|
|
||||||
enable_registration: false
|
enable_registration: false
|
||||||
|
|
||||||
|
# Maximum size of one particular file
|
||||||
|
max_filesize_in_mb: 100
|
||||||
|
|
||||||
|
elementVersion: "1.7.32"
|
||||||
|
synapseVersion: "1.38.0"
|
||||||
|
|
||||||
|
#synapse_config:
|
||||||
|
# ---
|
||||||
|
# apiVersion: v1
|
||||||
|
# kind: ConfigMap
|
||||||
|
# metadata:
|
||||||
|
# name: {{ tpl .Values.identifier . }}-matrixconfig
|
||||||
|
# data:
|
||||||
|
# {{ tpl (.Files.Glob "matrix/*").AsConfig . | indent 2 }}
|
||||||
|
|
Loading…
Reference in a new issue