pizza
pizza copied to clipboard
Feature: ability to turn off SSL required
Type of feature
🍕 Feature
Current behavior
Currently, this microservice only can make connections to postgres over ssl:
https://github.com/open-sauced/pizza/blob/65f6e1859bda344c8ae16af61130781e332ee846/pkg/database/handler.go#L28
Suggested solution
We should consider having a flag / config that disables ssl being required in order to connect. Ideally, this would flip to some "auto" mode that can connect to any postgres.
This should also log a warning if this setting has been turned on so administrators can be assured the configuration that's being run.
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [X] I agree to follow this project's Contribution Docs