-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add SMTP via the smtp-integrator charm #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 103 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
0 | 46 | 57 | 0 |
Click to see the invalid file list
- actions.yaml
- charmcraft.yaml
- config.yaml
- generate-src-docs.sh
- metadata.yaml
- mjolnir_snap/snapcraft.yaml
- nginx_rock/rockcraft.yaml
- pyproject.toml
- src/actions/init.py
- src/actions/register_user.py
- src/actions/reset_instance.py
- src/charm.py
- src/charm_state.py
- src/charm_types.py
- src/database_client.py
- src/database_observer.py
- src/exceptions.py
- src/mjolnir.py
- src/observability.py
- src/pebble.py
- src/saml_observer.py
- src/smtp_observer.py
- src/synapse/init.py
- src/synapse/api.py
- src/synapse/workload.py
- src/user.py
- synapse_rock/attributemaps/login_ubuntu.py
- synapse_rock/rockcraft.yaml
- tests/init.py
- tests/conftest.py
- tests/integration/init.py
- tests/integration/conftest.py
- tests/integration/test_charm.py
- tests/unit/init.py
- tests/unit/conftest.py
- tests/unit/test_anonymize_user_action.py
- tests/unit/test_charm.py
- tests/unit/test_database.py
- tests/unit/test_mjolnir.py
- tests/unit/test_promote_user_admin_action.py
- tests/unit/test_register_user_action.py
- tests/unit/test_reset_instance_action.py
- tests/unit/test_smtp_observer.py
- tests/unit/test_synapse_api.py
- tests/unit/test_synapse_workload.py
- tox.ini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 103 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
0 | 46 | 57 | 0 |
Click to see the invalid file list
- actions.yaml
- charmcraft.yaml
- config.yaml
- generate-src-docs.sh
- metadata.yaml
- mjolnir_snap/snapcraft.yaml
- nginx_rock/rockcraft.yaml
- pyproject.toml
- src/actions/init.py
- src/actions/register_user.py
- src/actions/reset_instance.py
- src/charm.py
- src/charm_state.py
- src/charm_types.py
- src/database_client.py
- src/database_observer.py
- src/exceptions.py
- src/mjolnir.py
- src/observability.py
- src/pebble.py
- src/saml_observer.py
- src/smtp_observer.py
- src/synapse/init.py
- src/synapse/api.py
- src/synapse/workload.py
- src/user.py
- synapse_rock/attributemaps/login_ubuntu.py
- synapse_rock/rockcraft.yaml
- tests/init.py
- tests/conftest.py
- tests/integration/init.py
- tests/integration/conftest.py
- tests/integration/test_charm.py
- tests/unit/init.py
- tests/unit/conftest.py
- tests/unit/test_anonymize_user_action.py
- tests/unit/test_charm.py
- tests/unit/test_database.py
- tests/unit/test_mjolnir.py
- tests/unit/test_promote_user_admin_action.py
- tests/unit/test_register_user_action.py
- tests/unit/test_reset_instance_action.py
- tests/unit/test_smtp_observer.py
- tests/unit/test_synapse_api.py
- tests/unit/test_synapse_workload.py
- tox.ini
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor questions to understand synapse better :D
(I think it might help if the LICENSE header changes were in a separate PR :D)
Totally right, sorry for the LICENSE changes, I updated them to pass the tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
Test coverage for 5a7e105
Static code analysis report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
Currently, to configure SMTP in synapse-operator you need to set configuration options. The change allows retrieving SMTP configuration from the SMTP integrator charm.
Rationale
Leverage the new SMTP integrator charm. As an added benefit, SMTP configuration can be shared by several applications and secrets can be used.
Juju Events Changes
Module Changes
enable_smtp
Library Changes
Library
charms.smtp_integrator.v0.smtp
is included to make use of thesmtp-integrator
charm.Checklist
src-docs
urgent
,trivial
,complex
)