Skip to content

Commit 88f83b9

Browse files
committed
ci-multinode: Update configuration for external TLS using Vault CA
1 parent 22eded5 commit 88f83b9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.automation.conf/tempest/tempest-ci-multinode.overrides.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ max_microversion = 3.70
3232
build_timeout = 600
3333

3434
[dashboard]
35-
dashboard_url = http://192.168.39.2
35+
dashboard_url = https://192.168.39.2

etc/kayobe/environments/ci-multinode/kolla.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ kolla_enable_designate: true
88
kolla_enable_redis: true
99
kolla_enable_barbican: true
1010

11-
# The multinode environment supports Backend and internal TLS , but it must be
12-
# enabled in the correct order. See
11+
# The multinode environment supports backend, external and internal TLS , but
12+
# it must be enabled in the correct order. See
1313
# https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-yoga/configuration/vault.html
1414
# for details.
15+
# kolla_enable_tls_external: true
1516
# kolla_enable_tls_internal: true
1617

18+
kolla_public_openrc_cacert: "{{ '/etc/pki/tls/certs/ca-bundle.crt' if os_distribution in ['centos', 'rocky'] else '/etc/ssl/certs/ca-certificates.crt' }}"
19+
kolla_admin_openrc_cacert: "{{ kolla_public_openrc_cacert }}"
20+
1721
# The multinode environment supports Manila but it is not enabled by default.
1822
# kolla_enable_manila: true
1923
# kolla_enable_manila_backend_cephfs_native: true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# Add the Vault CA certificate to the rally container when running tempest.
3+
tempest_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/vault.crt"

0 commit comments

Comments
 (0)