github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/apecloud-postgresql/templates/configmap.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: apecloud-postgresql12-configuration
     5    labels:
     6      {{- include "apecloud-postgresql.labels" . | nindent 4 }}
     7  data:
     8    postgresql.conf: |-
     9      {{- .Files.Get "config/pg12-config.tpl" | nindent 4 }}
    10  
    11    pg_hba.conf: |
    12      host     all             all             0.0.0.0/0                md5
    13      host     all             all             ::/0                     md5
    14      local    all             all                                     trust
    15      host     all             all             127.0.0.1/32            trust
    16      host     all             all             ::1/128                 trust
    17      local     replication     all                                    trust
    18      host      replication     all             0.0.0.0/0               md5
    19      host      replication     all             ::/0                    md5