Resolve "Use Namespace For Jdbc Connection String"
General MR
Summary
Adds the namespace to the jdbc connection string. This allows the dns name to resolve inside the cluster from other namespaces.
Relevant logs/screenshots
dbcreds after change
The namespace .mattermost is appended to the hostname
The operator pulls out the dns name from DB_CONNECTION_CHECK_URL and verifies it resolves. With the namespace now a part of url, the name resolution work from inside the mattermost-operator namespace.
DB_CONNECTION_CHECK_URL: postgres://redacted:redacted@mattermost-postgresql.mattermost:5432/mattermost?connect_timeout=10&sslmode=disable
DB_CONNECTION_STRING: postgres://redacted:redacted@mattermost-postgresql.mattermost:5432/mattermost?connect_timeout=10&sslmode=disable
Linked Issue
for issue #260 (closed)
Upgrade Notices
n/a
Edited by Michael Martin