Ensure pg_shadow_lookup is owned by the correct user
* Restoring a database via pg_dump could leave the owner set incorrectly, preventing pgbouncer from being able to authenticate users Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8819 Changelog: fixed
Showing
- files/gitlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb 7 additions, 0 deletions...tlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb
- files/gitlab-cookbooks/pgbouncer/resources/pgbouncer_user.rb 10 additions, 0 deletionsfiles/gitlab-cookbooks/pgbouncer/resources/pgbouncer_user.rb
- spec/chef/cookbooks/gitlab/libraries/helpers/base_pg_helper_spec.rb 19 additions, 0 deletions...cookbooks/gitlab/libraries/helpers/base_pg_helper_spec.rb
- spec/chef/cookbooks/pgbouncer/resources/pgbouncer_user_spec.rb 19 additions, 0 deletions...chef/cookbooks/pgbouncer/resources/pgbouncer_user_spec.rb
- spec/chef/fixtures/cookbooks/test_pgbouncer/metadata.rb 4 additions, 0 deletionsspec/chef/fixtures/cookbooks/test_pgbouncer/metadata.rb
- spec/chef/fixtures/cookbooks/test_pgbouncer/recipes/pgbouncer_user_create.rb 7 additions, 0 deletions...cookbooks/test_pgbouncer/recipes/pgbouncer_user_create.rb
Loading
Please register or sign in to comment