Skip to content

Commit 03b3d84

Browse files
Clouds.yaml certificate verifcation
1 parent 33328d9 commit 03b3d84

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
@@ -23,6 +23,12 @@
2323
src: templates/os_capacity-clouds.yml.j2
2424
dest: /opt/kayobe/os-capacity/clouds.yaml
2525

26+
- name: Copy haproxy certificate to monitoring nodes
27+
ansible.builtin.copy:
28+
src: ../kolla/certificates/haproxy-internal.pem
29+
dest: /opt/kayobe/os-capacity/haproxy-internal.pem
30+
when: not stackhpc_os_capacity_openstack_verify
31+
2632
- name: Ensure os_capacity container is running
2733
docker_container:
2834
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)