Hardcoded ssl disable in db-credentials secret
Summary
SSL disable is currently hardcoded in the conn string on line 13,14 of this template. Currently blocks from enabling SSL connection to database. SSL settings should be a templated value with the option to enable SSL.
Steps to reproduce
- Force SSL in database configuration
- Unable to connect to database with ssl disable hardcoded in secret
What is the current behavior?
- No option to enable SSL in connstring in secret
What is the expected behavior?
- A value determining the ssl behavior configured in connstring
- Ex: sslMode=disable sslMode=require sslMode=prefer etc
Relevant logs and/or screenshots
Possible fixes
https://repo1.dso.mil/big-bang/product/packages/mattermost/-/blob/main/chart/templates/db-credentials.yaml?ref_type=heads#L13 https://repo1.dso.mil/big-bang/product/packages/mattermost/-/blob/main/chart/templates/db-credentials.yaml?ref_type=heads#L14
/cc {put CODEOWNERs @githandles here}
Edited by Joel Bishop