fix: update user documentation about password encryption

Signed-off-by: Kadaffy Talavera <kadtalavera@gmail.com>
This commit is contained in:
Kadaffy Talavera 2025-10-16 12:29:49 +02:00
parent 1d5ae3d96d
commit 7bb4ecce42
No known key found for this signature in database
GPG Key ID: 272F044ED4FC7B3A
1 changed files with 6 additions and 5 deletions

View File

@ -96,10 +96,11 @@ psql -U postgres -h localhost -p 6432
## Password encryption ## Password encryption
Passwords are encrypted with `md5` hash generation by default. However, it is Passwords are encrypted using the `scram-sha-256` hashing method by default. However, it is possible to use the `md5` method by changing the `password_encryption` parameter in the PostgreSQL configuration.
possible to use the more recent `scram-sha-256` method by changing the
`password_encryption` parameter in the Postgres config. You can define it > **Note:** `md5` authentication is deprecated in PostgreSQL.
directly from the cluster manifest:
You can also define this parameter directly in the cluster manifest:
```yaml ```yaml
apiVersion: "acid.zalan.do/v1" apiVersion: "acid.zalan.do/v1"
@ -1053,7 +1054,7 @@ spec:
- all - all
volumeSource: volumeSource:
emptyDir: {} emptyDir: {}
sidecars: sidecars:
- name: "container-name" - name: "container-name"
image: "company/image:tag" image: "company/image:tag"
volumeMounts: volumeMounts: