mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 17:59:25 +02:00
+1
-1
@@ -88,7 +88,7 @@ which was generated when creating the `acid-minimal-cluster`. As non-encrypted
|
||||
connections are rejected by default set the SSL mode to `require`:
|
||||
|
||||
```bash
|
||||
export PGPASSWORD=$(kubectl get secret postgres.acid-minimal-cluster.credentials -o 'jsonpath={.data.password}' | base64 -d)
|
||||
export PGPASSWORD=$(kubectl get secret postgres.acid-minimal-cluster.credentials.postgresql.acid.zalan.do -o 'jsonpath={.data.password}' | base64 -d)
|
||||
export PGSSLMODE=require
|
||||
psql -U postgres -h localhost -p 6432
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user