Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various issues #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix various issues #64

wants to merge 3 commits into from

Conversation

puckettgw
Copy link

@puckettgw puckettgw commented Sep 6, 2024

(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

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 {}
@puckettgw puckettgw closed this Sep 6, 2024
@puckettgw puckettgw reopened this Sep 6, 2024
@puckettgw puckettgw changed the title Fix improper url blacklist inclusion Fix various issues Sep 6, 2024
@puckettgw
Copy link
Author

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

Fixes garbled generation of configmap caused by unquoted substitution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant