Merge "ci: support overriding the service project name"

This commit is contained in:
Zuul 2024-03-11 12:49:27 +00:00 committed by Gerrit Code Review
commit 1e84214d38
1 changed files with 4 additions and 0 deletions

View File

@ -1554,6 +1554,10 @@ function configure_ironic {
# configured for a system scoped account.
iniset $IRONIC_CONF_FILE DEFAULT rbac_service_role_elevated_access true
fi
if [[ "${SERVICE_PROJECT_NAME:-service}" != "service" ]]; then
iniset $IRONIC_CONF_FILE DEFAULT rbac_service_project_name $SERVICE_PROJECT_NAME
fi
# Set fast track options
iniset $IRONIC_CONF_FILE deploy fast_track $IRONIC_DEPLOY_FAST_TRACK