Skip to content

Commit e2f2903

Browse files
Clouds.yaml certificate verifcation
1 parent 8490b74 commit e2f2903

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

etc/kayobe/ansible/deploy-os-capacity-exporter.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
src: templates/os_capacity-clouds.yml.j2
1414
dest: /opt/kayobe/os-capacity/clouds.yaml
1515

16+
- name: Copy haproxy certificate to monitoring nodes
17+
ansible.builtin.copy:
18+
src: ../kolla/certificates/haproxy-internal.pem
19+
dest: /opt/kayobe/os-capacity/haproxy-internal.pem
20+
when: not stackhpc_os_capacity_openstack_verify
21+
1622
- name: Ensure os_capacity container is running
1723
docker_container:
1824
name: os_capacity

etc/kayobe/ansible/templates/os_capacity-clouds.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ clouds:
99
identity_api_version: 3
1010
auth_type: "v3applicationcredential"
1111
{% if not stackhpc_os_capacity_openstack_verify | bool %}
12-
verify: False
12+
cacert: /etc/openstack/haproxy-internal.pem
1313
{% endif %}

0 commit comments

Comments
 (0)