You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typically external API TLS certificates should be generated by a organisation's trusted internal or third-party CA.
156
+
For test and development purposes it is possible to use Vault as a CA for the external API.
157
+
158
+
1. Run the playbook
159
+
160
+
.. code-block::
161
+
162
+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-generate-test-external-tls.yml
163
+
164
+
2. Use ansible-vault to encrypt the PEM bundle in $KAYOBE_CONFIG_PATH/kolla/certificates/haproxy.pem. Commit the PEM bundle to the kayobe configuration.
1. Set the following in kayobe-config/etc/kayobe/kolla.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla.yml
228
+
1. If using Vault as a CA for the external API, set the following in kayobe-config/etc/kayobe/kolla.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla.yml
229
+
230
+
.. code-block::
231
+
232
+
# Whether TLS is enabled for the external API endpoints. Default is 'no'.
233
+
kolla_enable_tls_external: yes
234
+
235
+
See :ref:`tempest-cacert` for information on adding CA certificates to the trust store when running Tempest.
236
+
237
+
2. Set the following in kayobe-config/etc/kayobe/kolla.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla.yml
205
238
206
239
.. code-block::
207
240
208
241
# Whether TLS is enabled for the internal API endpoints. Default is 'no'.
209
242
kolla_enable_tls_internal: yes
210
243
211
-
2. Set the following in etc/kayobe/kolla/globals.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla/globals.yml
244
+
3. Set the following in etc/kayobe/kolla/globals.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla/globals.yml
212
245
213
246
.. code-block::
214
247
@@ -225,7 +258,7 @@ Enable the required TLS variables in kayobe and kolla
0 commit comments