-
-
Notifications
You must be signed in to change notification settings - Fork 366
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.yml.j2 auth method hard coded to md5 #389
Labels
wontfix
This will not be worked on
Comments
In fact, this configuration section is accessible only during initdb and then we configure the pghba file using ansible. But I agree with you that it is necessary to define a variable here. feel free to create a PR or I'll do it myself a little later. |
vitabaks
added a commit
that referenced
this issue
Jul 6, 2023
… 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
added a commit
that referenced
this issue
Jul 6, 2023
… pg_hba.conf section (#398) This commit 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
Done #398 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all thank you for this awesome playbook.
We successfully deployed patroni to a 3 node test cluster and noticed that in the
/etc/patroni/patroni.yml
file the pg_hba section is referencingmd5
as auth type.The file is created from
roles/patroni/templates/patroni.yml.j2
shouldn't this use the auth method defined in vars/main.yml
postgresql_password_encryption_algorithm
?like
The text was updated successfully, but these errors were encountered: