Open
Description
When you create a Postgres cluster with PGO and do not specify any additional users or databases, PGO will do the following:
° Create a database that matches the name of the Postgres cluster.
° Create an unprivileged Postgres user with the name of the cluster. This user has access to the database created in the previous step.
° Create a Secret with the login credentials and connection details for the Postgres user in relation to the database.
https://access.crunchydata.com/documentation/postgres-operator/5.3.0/architecture/user-management/
Only an unprivileged user is created by default.
A superuser is usually also required.
I would appreciate it if you would also create a superuser by default.
Otherwise you have to specify the full spec.users clause to also get a superuser.
In other words, I want to get this by default when I do not specify the spec.users clause:
° Create a database that matches the name of the Postgres cluster.
° Create an unprivileged Postgres user with the name of the cluster. This user has access to the database created in the previous step.
° Create a superuser (eg. <name of the cluster>_admin)