Skip to content

Ability to override PostgreSQL port for subcharts

In case of use PgBouncer kubernetes the migration error ActiveRecord::ConcurrentMigrationError ofter occurs. Related issue: gitlab-org/gitlab#33010 (closed)

For prevent the error I propose to add the ability to override PostgreSQL port for subcharts in case of use the global chart to be able to connect to PostgreSQL directly.

For example unicorn, sidekiq, gitlab-exporter connect to PgBouncer port which described in global.psql.port serring, but migration job connects to PostgreSQL directly because we've redefined it in common values file like this gitlab.migrations.psql.port

Edited by Stepan Kuksenko

Merge request reports