cloudnative-pg / charts

CloudNativePG Helm Charts
Apache License 2.0
137 stars 62 forks source link

Setting up pg_hba not working #308

Open ilbarone87 opened 1 month ago

ilbarone87 commented 1 month ago

Hello everyone, I'm trying to set pg_hba conf but the helm values don't seem to work. What I've tried so far is:

...
  postgresql:
    parameters:
      shared_buffers: 256MB
      pg_stat_statements.max: '10000'
      pg_stat_statements.track: all
      auto_explain.log_min_duration: '10s'
    pg_hba: "host all all all password"

or

  postgresql:
      shared_buffers: 256MB
      pg_stat_statements.max: '10000'
      pg_stat_statements.track: all
      auto_explain.log_min_duration: '10s'
      pg_hba: "host all all all password"

But i'm getting this error:

LOG: unrecognized configuration parameter "pg_hba" in file "/var/lib/postgresql/data/pgdata/custom.conf" line 20"