Closed gustavosr98 closed 1 year ago
I was following the config docs as it says "... e.g. admin
in case of a database ..."
But it seems un-setting the extra-user-roles
makes it work
juju config postgresql-admin --reset extra-user-roles
# Still not working, so I had to re-create the relation
juju remove-relation postgresql-admin postgresql
juju add-relation postgresql-admin postgresql
I would still believe there might be an issue there
Hi, looks like the same root cause as https://github.com/canonical/postgresql-k8s-operator/issues/192 (in a shared charm lib), but we haven't had an opportunity to have a look at it yet.
If you need admin privileges urgently, you can try using extra_user_roles SUPERUSER
, that works for Pgbouncer here.
Hi, @gustavosr98, the admin
extra-user-role should work now in the new revision from the 14/edge
channel (rev. 318).
Steps to reproduce
Expected behavior
Relation to work
Actual behavior
Versions
Operating system: Jammy Juju CLI: 2.9.43 Juju agent: 2.9.42 LXD: 5.1
Charm versions:
Log output