Support large uploads via Skyline
A new override, `skyline_client_max_body_size`, has been introduced to support large image uploads via the Skyline dashboard. The default value of 1100M supports upstream Ubuntu and Rocky Linux images, but can be increased to support larger images or decreased to encourage the use of the CLI. Change-Id: I0fc079692980ccd24edabcea5382ff6ada693893
This commit is contained in:
parent
4287079a5a
commit
42b219b9d7
@ -109,3 +109,6 @@ skyline_services:
|
|||||||
## Tunable overrides
|
## Tunable overrides
|
||||||
skyline_apiserver_init_overrides: {}
|
skyline_apiserver_init_overrides: {}
|
||||||
skyline_skyline_yaml_overrides: {}
|
skyline_skyline_yaml_overrides: {}
|
||||||
|
|
||||||
|
# Set override for image upload size
|
||||||
|
skyline_client_max_body_size: 1100M
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
A new override, `skyline_client_max_body_size`, has been introduced to
|
||||||
|
support large image uploads via the Skyline dashboard. The default value
|
||||||
|
of 1100M supports upstream Ubuntu and Rocky Linux images, but can be
|
||||||
|
increased to support larger images or decreased to encourage the use
|
||||||
|
of the CLI.
|
@ -46,6 +46,9 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
{% if 'glance' in _service %}
|
||||||
|
client_max_body_size {{ skyline_client_max_body_size }};
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user