Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patroni: Replace md5 with postgresql_password_encryption_algorithm in pg_hba.conf section #398

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Jul 6, 2023

This PR updates the pg_hba.conf file during the initdb process. The modification involves replacing the md5 password encryption algorithm with a dynamic, {{ postgresql_password_encryption_algorithm }}, which allows for flexible and secure password encryption.

Note that this configuration change applies only to the initdb process and further pg_hba.conf is managed using Ansible.

Issue #389

… pg_hba.conf section

This commit updates the pg_hba.conf file during the initdb process. The modification involves replacing the md5 password encryption algorithm with a dynamic variable, {{ postgresql_password_encryption_algorithm }}, which allows for flexible and secure password encryption.

Note that this configuration change is specific to the initdb process and is typically managed through automation tools like Ansible.

Issue #389
@vitabaks vitabaks self-assigned this Jul 6, 2023
@vitabaks vitabaks changed the title Patroni: Replace md5 with postgresql_password_encryption_algorithm in… Patroni: Replace md5 with postgresql_password_encryption_algorithm in pg_hba.conf section Jul 6, 2023
@vitabaks vitabaks merged commit c5d96ca into master Jul 6, 2023
20 checks passed
@vitabaks vitabaks deleted the initdb-hba branch July 8, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant