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.
144
+
For test and development purposes it is possible to use Vault as a CA for the external API.
145
+
146
+
1. Run the playbook
147
+
148
+
.. code-block::
149
+
150
+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-generate-test-external-tls.yml
151
+
152
+
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
216
+
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
217
+
218
+
.. code-block::
219
+
220
+
# Whether TLS is enabled for the external API endpoints. Default is 'no'.
221
+
kolla_enable_tls_external: yes
222
+
223
+
2. Set the following in kayobe-config/etc/kayobe/kolla.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla.yml
193
224
194
225
.. code-block::
195
226
196
227
# Whether TLS is enabled for the internal API endpoints. Default is 'no'.
197
228
kolla_enable_tls_internal: yes
198
229
199
-
2. Set the following in etc/kayobe/kolla/globals.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla/globals.yml
230
+
3. Set the following in etc/kayobe/kolla/globals.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla/globals.yml
200
231
201
232
.. code-block::
202
233
@@ -213,7 +244,7 @@ Enable the required TLS variables in kayobe and kolla
0 commit comments