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

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: orioledb-configuration
     5    labels:
     6      {{- include "orioledb.labels" . | nindent 4 }}
     7  data:
     8    postgresql.conf: |-
     9      {{- .Files.Get "config/orioledb-config.tpl" | nindent 4 }}
    10    # TODO: check if it should trust all
    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
    20    kb_pitr.conf: |
    21      method: kb_restore_from_time
    22      kb_restore_from_time:
    23        command: bash /home/postgres/pgdata/kb_restore/kb_restore.sh
    24        keep_existing_recovery_conf: false
    25        recovery_conf: {}