Merge "Use project scoped token for cinder, glance services"
This commit is contained in:
@@ -1649,15 +1649,9 @@ function configure_client_for {
|
|||||||
|
|
||||||
# NOTE(TheJulia): Below are services which we know, as of late 2021, which support
|
# NOTE(TheJulia): Below are services which we know, as of late 2021, which support
|
||||||
# explicit scope based ops *and* have knobs.
|
# explicit scope based ops *and* have knobs.
|
||||||
# Needed: Neutron, swift, nova ?service_catalog?
|
|
||||||
# Neutron - https://review.opendev.org/c/openstack/devstack/+/797450
|
|
||||||
|
|
||||||
if [[ "$service_config_section" == "inspector" ]] && [[ "$IRONIC_INSPECTOR_ENFORCE_SCOPE" == "True" ]]; then
|
if [[ "$service_config_section" == "inspector" ]] && [[ "$IRONIC_INSPECTOR_ENFORCE_SCOPE" == "True" ]]; then
|
||||||
use_system_scope="True"
|
use_system_scope="True"
|
||||||
elif [[ "$service_config_section" == "cinder" ]] && [[ "${CINDER_ENFORCE_SCOPE:-False}" == "True" ]]; then
|
|
||||||
use_system_scope="True"
|
|
||||||
elif [[ "$service_config_section" == "glance" ]] && [[ "${GLANCE_ENFORCE_SCOPE:-False}" == "True" ]]; then
|
|
||||||
use_system_scope="True"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$use_system_scope" == "True" ]]; then
|
if [[ "$use_system_scope" == "True" ]]; then
|
||||||
|
Reference in New Issue
Block a user