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:
parent
49773a3e82
commit
6842dd5705
@ -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" %}
|
||||
|
@ -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
|
||||
|
@ -1,2 +1,3 @@
|
||||
[keystone_authtoken]
|
||||
{% include "parts/identity-data" %}
|
||||
{% include "parts/service-token" %}
|
||||
|
2
charms/octavia-k8s/src/templates/parts/service-token
Normal file
2
charms/octavia-k8s/src/templates/parts/service-token
Normal file
@ -0,0 +1,2 @@
|
||||
service_token_roles = {{ identity_service.admin_role }}
|
||||
service_token_roles_required = True
|
Loading…
x
Reference in New Issue
Block a user