helm install sentry-0.4.0.tgz --name sentry --timeout 3600
Error: Job failed: BackoffLimitExceeded
kubectl log postgres
FATAL: database “postgres” does not exist
FATAL: no pg_hba.conf entry for host “172.30.xxx.xxx”, user “sentry”, database “sentry”, SSL off
FATAL: database “postgres” does not exist
I also tried sentry-0.3.0 version which have the same problem.
Tried login container and issue psql.
root@sentry-postgresql-66d95b6d89-h46vp:/# su postgres
psql
psql: FATAL: role "sentry" does not exist
psql -U postgres
psql: FATAL: database “postgres” does not exist
Googled and added 0.0.0.0 and IP 172.30.xxx.xxx into pg_hba.conf.
root@sentry-postgresql-66d95b6d89-h46vp:/var/lib/postgresql/data/pgdata# service postgresql restart
[warn] No PostgreSQL clusters exist; see “man pg_createcluster” … (warning).
Even I can manually create cluster and database, but I want to understand which block my installation.