Expose tls parameter of Go MySQL driver to config file #855

Merged
konrad merged 3 commits from kompetenzbolzen/api:main into main 2021-05-08 14:54:56 +00:00
Contributor

Description

My MariaDB server is on a seperate Host and I would really like communication to be encrypted. This change exposes the tls parameter of the Go MySQL driver to the config file as database.tls.

Tested on Debian 10 and MariaDB 15.1 with TLS1.1

Checklist

  • I added or improved tests
  • I added or improved docs for my feature
    • Swagger (including mage do-the-swag)
    • Error codes
    • New config options (including adding them to config.yml.saml and running mage generate-docs)
# Description My MariaDB server is on a seperate Host and I would really like communication to be encrypted. This change exposes the `tls` parameter of the Go MySQL driver to the config file as `database.tls`. Tested on Debian 10 and MariaDB 15.1 with TLS1.1 # Checklist * [ ] I added or improved tests * [x] I added or improved docs for my feature * [ ] Swagger (including `mage do-the-swag`) * [ ] Error codes * [x] New config options (including adding them to `config.yml.saml` and running `mage generate-docs`)
kompetenzbolzen added 2 commits 2021-05-08 14:28:36 +00:00
konrad approved these changes 2021-05-08 14:33:13 +00:00
Owner

Please fix the lint error, should be good to go then.

Please fix the lint error, should be good to go then.
kompetenzbolzen added 1 commit 2021-05-08 14:43:53 +00:00
continuous-integration/drone/pr Build is passing Details
c7353191c5
fix lint: DatabaseTls -> DatabaseTLS
Author
Contributor

damn, that was quick. thanks!

damn, that was quick. thanks!
konrad merged commit 86b7d224ab into main 2021-05-08 14:54:56 +00:00
Owner

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#855
No description provided.