Allow postgres to use a serviceName as well as a host
Summary
It would be super handy if postgres could also connect to a service name like redis allows
Steps to reproduce
Try to deploy with postgres settings like:
psql:
serviceName: pgbouncer
port: 6432
database: gitlabhq_production
preparedStatements: false
password:
secret: gitlab-postgres-secret
key: postgres-password
username: admin
The above example of course does not work, but would be nice if it did
Configuration used
The example config + remote postgres
Current behavior
You cannot specify a serviceName
for postgres, only a host
Expected behavior
I could use either host
or serviceName
like redis
Versions
- Chart: latest (2.0.3)
- Platform:
- Cloud: IBM Cloud
- Kubernetes: (
kubectl version
)- Client: v1.14.2
- Server: v1.12.9+IKS
- Helm: (
helm version
)- Client: v2.13.1
- Server: v2.14.1