Skip to content

Commit 0ec6d22

Browse files
committed
Split config
1 parent 1a4d6c4 commit 0ec6d22

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

doc/source/configuration/cloudkitty.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,23 @@ storage backend. Set the following in ``kolla.yml``:
2222
Set Prometheus as the backend for both the collector and fetcher, and Elasticsearch as the
2323
storage backend. Note that this is patched in our fork of CloudKitty to also
2424
work with OpenSearch. Proper support is still pending in Kolla-Ansible `here
25-
<https://review.opendev.org/c/openstack/kolla-ansible/+/898555>`__. If you have
26-
TLS enabled, you will also need to set the cafile for Prometheus and
27-
Elasticsearch. Set the following in ``kolla/globals.yml``, and make sure that
28-
``openstack_cacert`` is appropriately set as a Kayobe variable too. It defaults
29-
to ``openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"``, but you may prefer
30-
to set the path explicitly.
25+
<https://review.opendev.org/c/openstack/kolla-ansible/+/898555>`__. Set the
26+
following in ``kolla/globals.yml``:
3127

3228
.. code-block:: yaml
3329
3430
cloudkitty_collector_backend: prometheus
3531
cloudkitty_fetcher_backend: prometheus
3632
cloudkitty_storage_backend: elasticsearch
33+
34+
If you have TLS enabled, you will also need to set the cafile for Prometheus
35+
and Elasticsearch. Set the following in ``kolla/globals.yml``, and make sure
36+
that ``openstack_cacert`` is appropriately set as a Kayobe variable too. It
37+
defaults to ``openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"``, but you
38+
may prefer to set the path explicitly.
39+
40+
.. code-block:: yaml
41+
3742
cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
3843
cloudkitty_elasticsearch_cafile: "{{ openstack_cacert }}"
3944

0 commit comments

Comments
 (0)