docs: add information about enabling TLS to automated guide

It only covers the internal API VIP, since we don't have a separate
external API in the development environment.

Change-Id: I28f2b43ddb8bad6097e690e766f0348b1b8a296b
This commit is contained in:
Mark Goddard 2022-06-09 15:31:22 +01:00
parent 3e7b01ad82
commit 804c1cb669

@ -81,6 +81,30 @@ This can be added using the following commands::
sudo ip l set eth1 up
sudo ip l set eth1 master breth1
Configuration
-------------
Enable TLS
^^^^^^^^^^
Apply the following configuration if you wish to enable TLS for the OpenStack
API:
Set the following option in ``config/src/kayobe-config/etc/kayobe/kolla.yml``:
.. code-block:: yaml
kolla_enable_tls_internal: "yes"
Set the following options in
``config/src/kayobe-config/etc/kayobe/kolla/globals.yml``:
.. code-block:: yaml
kolla_copy_ca_into_containers: "yes"
openstack_cacert: "{% if os_distribution == 'ubuntu' %}/etc/ssl/certs/ca-certificates.crt{% else %}/etc/pki/tls/certs/ca-bundle.crt{% endif %}"
kolla_admin_openrc_cacert: "{% if os_distribution == 'ubuntu' %}/etc/ssl/certs/ca-certificates.crt{% else %}/etc/pki/tls/certs/ca-bundle.crt{% endif %}"
Usage
-----
@ -101,6 +125,10 @@ its dependencies in a Python virtual environment::
changes will not been seen until you reinstall the package. To do this you
can run ``./dev/install.sh``.
If you are using TLS and wish to generate self-signed certificates::
export KAYOBE_OVERCLOUD_GENERATE_CERTIFICATES=1
Run the ``dev/overcloud-deploy.sh`` script to deploy the OpenStack control
plane::