Add proxy cert file to jobservice when https enabled

jobservice may request via absolute path of url to harbor

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2020-04-03 13:39:12 +00:00
parent 23ed189ed4
commit cdb675bf3d

View File

@ -267,6 +267,11 @@ services:
- type: bind - type: bind
source: {{internal_tls.job_service_key_path}} source: {{internal_tls.job_service_key_path}}
target: /etc/harbor/ssl/job_service.key 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 %} {% endif %}
networks: networks:
- harbor - harbor