Add example for add/updating pg_hba conf entries in Pg operator doc

Description

In PG operator 2.2.0, I do not see any reference doc for How to add/update pg_hba conf entries. 

Good to have small example here https://docs.percona.com/percona-operator-for-postgresql/2.0/options.html 

Working Example:  

$  kubectl apply -f cr.yaml

 

$ kubectl get perconapgcluster cluster1 -n pgo -o yaml

 

Applied by operator:

{"pg_hba":["host all all 0.0.0.0/0 md5"]}

 

Also in patroni conf:

 

 

Applied to pg instance as well, 

New entry is added to pg instance pg_hba.conf 

Environment

None

Activity

Aaditya Dubey August 18, 2023 at 1:53 PM

Hi ,

Thank you for the report and feedback.

Done

Details

Assignee

Reporter

Needs QA

Yes

Components

Fix versions

Affects versions

Priority

Smart Checklist

Created August 17, 2023 at 6:11 AM
Updated March 5, 2024 at 3:44 PM
Resolved December 20, 2023 at 12:22 PM