Use /var/tmp on host to store temporal files for image upload via Horizon
Previously we use /tmp inside horizon container to store temporal files for image upload via Horizon, but this makes the image size grow for each upload operation. This patch makes sure that we use host directory to store temporal file, so that it is not written inside container. Conflicts: deployment/horizon/horizon-container-puppet.yaml Change-Id: Ic32e7a2db83bb5a0fb3c69708be9be96435dd030 Closes-Bug: 1840607 (cherry picked from commita75cc9a953
) (cherry picked from commit12ad0d83a4
)
This commit is contained in:
parent
e89a6b7f99
commit
ffebacc480
|
@ -132,6 +132,7 @@ outputs:
|
|||
- /var/lib/config-data/puppet-generated/horizon/:/var/lib/kolla/config_files/src:ro
|
||||
- /var/log/containers/horizon:/var/log/horizon
|
||||
- /var/log/containers/httpd/horizon:/var/log/httpd
|
||||
- /var/tmp/:/var/tmp/
|
||||
- /var/www/:/var/www/:ro
|
||||
-
|
||||
if:
|
||||
|
|
|
@ -142,6 +142,7 @@ outputs:
|
|||
horizon::listen_ssl: {get_param: EnableInternalTLS}
|
||||
horizon::horizon_ca: {get_param: InternalTLSCAFile}
|
||||
horizon::customization_module: {get_param: HorizonCustomizationModule}
|
||||
horizon::file_upload_temp_dir: '/var/tmp'
|
||||
-
|
||||
if:
|
||||
- debug_unset
|
||||
|
|
Loading…
Reference in New Issue