ci: support overriding the service project name
Extension to extend the default service project name value, which if set can be overrridden in Ironic's policy configuration. Change-Id: I60cc53a34c7062261703492e720989efedca4f2b
This commit is contained in:
parent
19bc67c196
commit
ab5d0cadb0
@ -1542,6 +1542,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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user