Add external_lb_vip_address to glance_cors_allowed_origin by default
Since ``horizon_images_upload_mode`` is enabled by default and ``glance_show_multiple_locations`` is disabled by default(turns out it's not really required), we should add ``external_lb_vip_address`` to ``glance_cors_allowed_origin`` as default. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/862167 Change-Id: I6d13e1e985f8e3bbb97b0af7063b469cb4b2dbca
This commit is contained in:
parent
504e641ed4
commit
5bc252de44
@ -195,7 +195,7 @@ glance_image_cache_max_size: 10737418240
|
||||
glance_image_cache_stall_time: 86400
|
||||
|
||||
# CORS options
|
||||
glance_cors_allowed_origin: "{{ (glance_show_multiple_locations | bool) | ternary(openstack_service_publicuri_proto | default('http') + '://' + external_lb_vip_address, None) }}"
|
||||
glance_cors_allowed_origin: "{{ openstack_service_publicuri_proto | default('http') + '://' + external_lb_vip_address }}"
|
||||
# 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
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
``external_lb_vip_address`` was added to the default value for
|
||||
``glance_cors_allowed_origin`` regardless of other variables.
|
Loading…
Reference in New Issue
Block a user