Skip to content

Commit

Permalink
confd requires an additional 'basic_auth' flag for etcd authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
lavr committed Sep 26, 2023
1 parent de4d400 commit ebdd7e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/confd/templates/confd.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ nodes = [
]
{% if dcs_exists|bool and dcs_type == 'etcd' %}
{% if patroni_etcd_username | default('') | length > 0 %}
basic_auth = true
username = "{{ patroni_etcd_username | default('') }}"
{% endif %}
{% if patroni_etcd_password | default('') | length > 0 %}
password = "{{ patroni_etcd_password }}"
password = "{{ patroni_etcd_password | default('') }}"
{% endif %}
{% endif %}

0 comments on commit ebdd7e0

Please sign in to comment.