mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-02 12:07:33 +02:00
extend docs and polish manifest examples (#762)
This commit is contained in:
@@ -155,9 +155,12 @@ export PGPORT=$(echo $HOST_PORT | cut -d: -f 2)
|
||||
```
|
||||
|
||||
Retrieve the password from the K8s Secret that is created in your cluster.
|
||||
Non-encrypted connections are rejected by default, so set the SSL mode to
|
||||
require:
|
||||
|
||||
```bash
|
||||
export PGPASSWORD=$(kubectl get secret postgres.acid-minimal-cluster.credentials -o 'jsonpath={.data.password}' | base64 -d)
|
||||
export PGSSLMODE=require
|
||||
psql -U postgres
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user