typokign / matrix-chart

Helm chart for deploying a Matrix homeserver stack
MIT License
88 stars 47 forks source link

Fix various issues #64

Open puckettgw opened 2 months ago

puckettgw commented 2 months ago

(1) Fix improper url blacklist inclusion Fixes the following error generated when multiple blacklist items are in the map:

Error: INSTALLATION FAILED: template: matrix/templates/synapse/deployment.yaml:20:36: executing "matrix/templates/synapse/deployment.yaml" at <include (print $.Template.BasePath "/synapse/configmap.yaml") .>: error calling include: template: matrix/templates/synapse/configmap.yaml:10:7: executing "matrix/templates/synapse/configmap.yaml" at <include "homeserver.yaml" .>: error calling include: template: matrix/templates/synapse/_homeserver.yaml:835:18: executing "homeserver.yaml" at <.Values.matrix.urlPreviews.rules.url.blacklist>: wrong type for value; expected string; got []interface {}

(2) Fix bad exim relay settings Bad logic results in 'relay.enabled' always being evaluated to true

puckettgw commented 2 months ago

There are numerous templating issues with the configmap for synapse as well that i'm currently untangling :/