Template service-auth with identity-data part

`auth_section` does not work to load auth data from an other section.
Template the `service_auth` section with identity-data parts.

Change-Id: I30f1500ef65e34e866480edb6ae1b434b6c01c16
This commit is contained in:
Guillaume Boutry 2023-10-16 12:07:17 +02:00
parent 49773a3e82
commit 6842dd5705
4 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,6 @@ ovn_sb_ca_cert = {{ ovn.ovn_ca_cert }}
{% include "parts/section-database" %}
[service_auth]
auth_section = keystone_authtoken
{% include "parts/identity-data" %}
{% include "parts/section-identity" %}

View File

@ -19,5 +19,3 @@ user_domain_name = {{ identity_service.service_domain_name }}
project_name = {{ identity_service.service_project_name }}
username = {{ identity_service.service_user_name }}
password = {{ identity_service.service_password }}
service_token_roles = {{ identity_service.admin_role }}
service_token_roles_required = True

View File

@ -1,2 +1,3 @@
[keystone_authtoken]
{% include "parts/identity-data" %}
{% include "parts/service-token" %}

View File

@ -0,0 +1,2 @@
service_token_roles = {{ identity_service.admin_role }}
service_token_roles_required = True