Fix docker-compose file permmission

non-root user can see the content

Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
Qian Deng 2019-05-24 15:17:35 +08:00 committed by DQ
parent 5cb52330b9
commit 1be678b2ea

View File

@ -46,4 +46,4 @@ def prepare_docker_compose(configs, with_clair, with_notary, with_chartmuseum):
if uaa_config.get('ca_file'):
rendering_variables['uaa_ca_file'] = uaa_config['ca_file']
render_jinja(docker_compose_template_path, docker_compose_yml_path, **rendering_variables)
render_jinja(docker_compose_template_path, docker_compose_yml_path, mode=0o644, **rendering_variables)