Merge "Adds protocol to glance_cors_allowed_origin var"

This commit is contained in:
Zuul 2018-12-01 09:58:47 +00:00 committed by Gerrit Code Review
commit e8c4fdd48c
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ glance_keystone_auth_plugin: password
glance_image_cache_max_size: 10737418240
# CORS options
glance_cors_allowed_origin: "{{ (glance_show_multiple_locations | bool) | ternary(external_lb_vip_address, None) }}"
glance_cors_allowed_origin: "{{ (glance_show_multiple_locations | bool) | ternary(openstack_service_publicuri_proto | default('http') + '://' + external_lb_vip_address, None) }}"
# If ``glance_api_workers`` is unset the system will use half the number of available VCPUS to
# compute the number of api workers to use.
# glance_api_workers: 16