We're Hiring!

Mattermost, Inc.

Mattermost Operator with Postgresql

Hello

I would like to install the mattermost operator on our kubernetes cluster. As i saw, it needs the minio and mysql operator as well too. Fortunately we are already using the minio operator but instead of mysql we are using postgresql. So my question, is there a possibility to change the mysql to postgresql? and if yes, are there any documentations about it?

Best,
Tobey

Hi, @TobeyLlamera

Currently, PostgreSQL is only supported via external databases since there is no local operator option like mysql. Following the standard external database setup instructions should work.

Check these lines of the code that will help you to get a better understanding of this.

	// User-Managed Database
	//   - Key: DB_CONNECTION_STRING | Value: <FULL_DATABASE_CONNECTION_STRING>
	// Operator-Managed Database
	//   - Key: ROOT_PASSWORD | Value: <ROOT_DATABASE_PASSWORD>
	//   - Key: USER | Value: <USER_NAME>
	//   - Key: PASSWORD | Value: <USER_PASSWORD>
	//   - Key: DATABASE Value: <DATABASE_NAME>