mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 03:35:21 +01:00
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:
parent
23ed189ed4
commit
cdb675bf3d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user