keystone: ensure bool for two parameters
* keystone_enable_federation_openid * enable_keystone_federation Closes-Bug: #2036390 Change-Id: Ieef1dce006c339643ad4fa544218c6482c2ad32c
This commit is contained in:
parent
f6d0ffd61c
commit
c9a4b36e52
@ -82,7 +82,7 @@ connection_string = {{ osprofiler_backend_connection_string }}
|
|||||||
allowed_origin = {{ grafana_public_endpoint }}
|
allowed_origin = {{ grafana_public_endpoint }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if enable_keystone_federation %}
|
{% if enable_keystone_federation | bool %}
|
||||||
[federation]
|
[federation]
|
||||||
{% for dashboard in keystone_trusted_dashboards %}
|
{% for dashboard in keystone_trusted_dashboards %}
|
||||||
trusted_dashboard = {{ dashboard }}
|
trusted_dashboard = {{ dashboard }}
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
{
|
{
|
||||||
"path": "/var/log/kolla/keystone/keystone.log",
|
"path": "/var/log/kolla/keystone/keystone.log",
|
||||||
"owner": "keystone:keystone"
|
"owner": "keystone:keystone"
|
||||||
},{% if keystone_enable_federation_openid %}
|
},{% if keystone_enable_federation_openid | bool %}
|
||||||
{
|
{
|
||||||
"path": "{{ keystone_container_federation_oidc_metadata_folder }}",
|
"path": "{{ keystone_container_federation_oidc_metadata_folder }}",
|
||||||
"owner": "{{ apache_user }}:{{ apache_user }}",
|
"owner": "{{ apache_user }}:{{ apache_user }}",
|
||||||
|
@ -62,7 +62,7 @@ LogLevel info
|
|||||||
SSLCertificateKeyFile /etc/keystone/certs/keystone-key.pem
|
SSLCertificateKeyFile /etc/keystone/certs/keystone-key.pem
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{% if keystone_enable_federation_openid %}
|
{% if keystone_enable_federation_openid | bool %}
|
||||||
OIDCClaimPrefix "OIDC-"
|
OIDCClaimPrefix "OIDC-"
|
||||||
OIDCClaimDelimiter ";"
|
OIDCClaimDelimiter ";"
|
||||||
OIDCResponseType "{{ keystone_federation_oidc_response_type }}"
|
OIDCResponseType "{{ keystone_federation_oidc_response_type }}"
|
||||||
|
7
releasenotes/notes/bug-2036390-d087c5bfd504c9f3.yaml
Normal file
7
releasenotes/notes/bug-2036390-d087c5bfd504c9f3.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
``enable_keystone_federation`` and ``keystone_enable_federation_openid``
|
||||||
|
have not been explicitly handled as bool in various templates in the
|
||||||
|
keystone role so far.
|
||||||
|
`LP#2036390 <https://bugs.launchpad.net/kolla-ansible/+bug/2036390>`__
|
Loading…
Reference in New Issue
Block a user