Skip to content

Commit

Permalink
ci-multinode: Update configuration for external TLS using Vault CA
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard committed Apr 15, 2024
1 parent 22eded5 commit 88f83b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ max_microversion = 3.70
build_timeout = 600

[dashboard]
dashboard_url = http://192.168.39.2
dashboard_url = https://192.168.39.2
8 changes: 6 additions & 2 deletions etc/kayobe/environments/ci-multinode/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ kolla_enable_designate: true
kolla_enable_redis: true
kolla_enable_barbican: true

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

kolla_public_openrc_cacert: "{{ '/etc/pki/tls/certs/ca-bundle.crt' if os_distribution in ['centos', 'rocky'] else '/etc/ssl/certs/ca-certificates.crt' }}"
kolla_admin_openrc_cacert: "{{ kolla_public_openrc_cacert }}"

# The multinode environment supports Manila but it is not enabled by default.
# kolla_enable_manila: true
# kolla_enable_manila_backend_cephfs_native: true
Expand Down
3 changes: 3 additions & 0 deletions etc/kayobe/environments/ci-multinode/tempest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Add the Vault CA certificate to the rally container when running tempest.
tempest_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/vault.crt"

0 comments on commit 88f83b9

Please sign in to comment.