PostgreSQL: Set scram-sha-256 as default host auth method

This commit is contained in:
Yanis Guenane
2021-03-09 11:39:02 +01:00
parent d32cf447ea
commit 10566b46b1
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ spec:
key: password
- name: PGDATA
value: '{{ tower_postgres_data_path }}'
- name: POSTGRES_INITDB_ARGS
value: '{{ postgres_initdb_args }}'
- name: POSTGRES_HOST_AUTH_METHOD
value: '{{ postgres_host_auth_method }}'
ports:
- containerPort: 5432
name: postgres

View File

@@ -0,0 +1,3 @@
---
postgres_initdb_args: '--auth-host=scram-sha-256'
postgres_host_auth_method: 'scram-sha-256'