Can't log in (helm) or reset password

Summary

The generated password in the secret gitlab-gitlab-initial-root-password doesnt work. If I try task-runner pod's shell then I get

git@gitlab-task-runner-698fbb84cb-cchjf:/$ gitlab-rails console -e production
--------------------------------------------------------------------------------
 GitLab:       12.9.2 () FOSS
 GitLab Shell: 12.0.0
--------------------------------------------------------------------------------

Loading production environment (Rails 6.0.2)
irb(main):001:0> 
irb(main):002:0> user = User.where(id: 1).first
Traceback (most recent call last):
        1: from (irb):2
PG::ConnectionBad (FATAL:  password authentication failed for user "gitlab")
irb(main):003:0> user = User.where(id: 1).first
Traceback (most recent call last):
        2: from (irb):3
        1: from (irb):3:in `rescue in irb_binding'
PG::ConnectionBad (FATAL:  password authentication failed for user "gitlab")
irb(main):004:0> 
irb(main):005:0> 
irb(main):006:0> User
=> User (call 'User.connection' to establish a connection)
irb(main):007:0> User.connection
Traceback (most recent call last):
        1: from (irb):7
PG::ConnectionBad (FATAL:  password authentication failed for user "gitlab")
irb(main):008:0> 

(Summarize the bug encountered, concisely as possible)

Steps to reproduce

Attempt to perform https://docs.gitlab.com/ee/security/reset_root_password.html

Configuration used

gitlab-runner.install=false
global.edition=ce

postgresql.install=false
global.psql.host=postgresql.postgresql.svc.cluster.local
global.psql.password.secret=gitlab-deployment-secrets
global.psql.password.key=postgresql-gitlab-password

redis.install=false
global.redis.host=redis-master.redis.svc.cluster.local
global.redis.password.enabled=true
global.redis.password.key=redis-password
global.redis.password.secret=gitlab-deployment-secrets

certmanager-issuer.email=gajeambi@rocme.com
certmanager.install=false
global.ingress.annotations."kubernetes\.io/tls-acme"=true

global.hosts.domain=rocme.com
global.hosts.gitlab.name=gitlab-ci.rocme.com
global.hosts.registry.name=registry-ci.rocme.com
global.hosts.minio.name=minio-ci.rocme.com

Current behavior

Can't login or reset password.

Expected behavior

Can login or reset password.

Versions

Latest.

  • Chart: latest/stable
  • Platform:
    • Self-hosted: Rancher RKE
  • Kubernetes: (kubectl version)
    • Client:
    • Server:
  • Helm: 3

Relevant logs

note: formatting fixes

Edited by Jason Plum