diff --git a/make/photon/prepare/templates/docker_compose/docker-compose.yml.jinja b/make/photon/prepare/templates/docker_compose/docker-compose.yml.jinja index a83506c75..7e1a9bec7 100644 --- a/make/photon/prepare/templates/docker_compose/docker-compose.yml.jinja +++ b/make/photon/prepare/templates/docker_compose/docker-compose.yml.jinja @@ -267,6 +267,11 @@ services: - type: bind source: {{internal_tls.job_service_key_path}} target: /etc/harbor/ssl/job_service.key +{% endif %} +{% if protocol == 'https' %} + - type: bind + source: {{data_volume}}/secret/cert/server.crt + target: /harbor_cust_cert/harbor_ca.crt {% endif %} networks: - harbor