Skip to content

Commit

Permalink
Updated etcd certificate path on molecule tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klention committed Dec 22, 2024
1 parent c515238 commit d99b1ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automation/molecule/tests/etcd/etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
method: GET
return_content: true
validate_certs: "{% if tls_cert_generate | bool %}true{% else %}false{% endif %}"
ca_path: "{% if tls_cert_generate | bool %}/var/lib/pgsql/tls/ca.crt{% else %}''{% endif %}"
client_cert: "{% if tls_cert_generate | bool %}/var/lib/pgsql/tls/server.crt{% else %}''{% endif %}"
client_key: "{% if tls_cert_generate | bool %}/var/lib/pgsql/tls/server.key{% else %}''{% endif %}"
ca_path: "{% if tls_cert_generate | bool %}{{ tls_etcd_ca_cert_path }}{% else %}''{% endif %}"
client_cert: "{% if tls_cert_generate | bool %}{{ tls_etcd_cert_path }}{% else %}''{% endif %}"
client_key: "{% if tls_cert_generate | bool %}{{ tls_etcd_privatekey_path }}{% else %}''{% endif %}"
register: etcd_health_status
failed_when: "(etcd_health_status.content | from_json).health != 'true'"
when: dcs_type == "etcd"

0 comments on commit d99b1ea

Please sign in to comment.