Funk-lab/ansible/roles/postgresql/templates/pg_hba.conf.j2

9 lines
568 B
Django/Jinja

# TYPE DATABASE USER ADDRESS METHOD
# Accès local superuser
local all postgres peer
# Accès local apps — scram-sha-256
local all all scram-sha-256
host all all 127.0.0.1/32 scram-sha-256
host all all ::1/128 scram-sha-256
# Accès depuis le LAN cluster (services k8s futurs)
host all all {{ cluster_network }} scram-sha-256