mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02:00
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:
parent
5cb52330b9
commit
1be678b2ea
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user