Skip to content

Conversation

@Grennith
Copy link
Contributor

This PR serves two purposes for which the upstream Mailu repo offers flexibility and support by now

  1. PROXY_PROTOCOL is currently always set by the envvars-configmap.yaml. If an externalService is not configured, it is empty. However, this breaks the possibility to use Traefik or ingress-nginx to forward TCP traffic to the front service rather than exposing the ports directly. See Proxy Protocol support #264 (comment)
  2. I added DB_APPENDIX to the upstream Mailu repo (see Allow setting collation via env variable and add uvloop Mailu#3729) since the collation of my MariaDB deployment apparently was not accepted anymore with regards to the used collation for the same reason as others have encountered it, see Admin container fails to connect to external MariaDB database Mailu#3449. With DB_APPENDIX, the sqlalchemy URI can be expanded in case an externalDatabase is used and the collation is not supported for example. For this purpose, .Values.externalDatabase.appendix can be set. For example, ?collation=utf8mb4_unicode_ci works as a value - further options are also possible as per sqlalchemy

@promasu
Copy link
Contributor

promasu commented Oct 18, 2025

@Grennith Can you rebase your change to the current master? That should fix the CI tests

@github-actions github-actions bot added area/charts Changes made in the charts directory area/docs Changes made in the docs files area/utils Changes made in the utils directory labels Oct 18, 2025
@Grennith
Copy link
Contributor Author

@promasu not sure why the linter is complaining about a missing README update tbh. I did add an entry for appendix accordingly. See https://github.com/Mailu/helm-charts/pull/489/files#diff-3e8fc6668e30f58c499d4d7cd36004d6937cbc884ce7b7af654377a818afd8b3R230 (line 230 of the chart readme).

@promasu
Copy link
Contributor

promasu commented Oct 18, 2025

@Grennith Did you manually add it or use the pre-commit-hook? The formatting might be off or smth

@Grennith
Copy link
Contributor Author

@promasu yeah I did not set up pre-commit since I reset my notebook. Linter is happy now. Thanks!

Copy link
Collaborator

@DrPsychick DrPsychick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just formatting, thank you for your contribution!

@DrPsychick DrPsychick merged commit 8ab8da7 into Mailu:master Oct 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/charts Changes made in the charts directory area/docs Changes made in the docs files area/utils Changes made in the utils directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants