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 8fd8c5f345
commit 86f2bb26a3

View File

@ -56,4 +56,4 @@ def prepare_docker_compose(configs, with_clair, with_notary, with_chartmuseum):
if log_ep_host: if log_ep_host:
rendering_variables['external_log_endpoint'] = True rendering_variables['external_log_endpoint'] = True
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)