mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 10:07:43 +01:00
c954969bcd
mTLS only enabled in jobservice and registryctl Signed-off-by: DQ <dengq@vmware.com>
23 lines
787 B
Django/Jinja
23 lines
787 B
Django/Jinja
CORE_SECRET={{core_secret}}
|
|
REGISTRY_URL={{registry_url}}
|
|
JOBSERVICE_SECRET={{jobservice_secret}}
|
|
CORE_URL={{core_url}}
|
|
REGISTRY_CONTROLLER_URL={{registry_controller_url}}
|
|
JOBSERVICE_WEBHOOK_JOB_MAX_RETRY={{notification_webhook_job_max_retry}}
|
|
|
|
{%if internal_tls.enabled %}
|
|
INTERNAL_TLS_ENABLED=true
|
|
INTERNAL_TLS_TRUST_CA_PATH=/harbor_cust_cert/harbor_internal_ca.crt
|
|
INTERNAL_TLS_KEY_PATH=/etc/harbor/ssl/job_service.key
|
|
INTERNAL_TLS_CERT_PATH=/etc/harbor/ssl/job_service.crt
|
|
{% endif %}
|
|
{% if internal_tls.verify_client_cert %}
|
|
INTERNAL_VERIFY_CLIENT_CERT=true
|
|
{% endif %}
|
|
|
|
HTTP_PROXY={{jobservice_http_proxy}}
|
|
HTTPS_PROXY={{jobservice_https_proxy}}
|
|
NO_PROXY={{jobservice_no_proxy}}
|
|
REGISTRY_CREDENTIAL_USERNAME={{registry_username}}
|
|
REGISTRY_CREDENTIAL_PASSWORD={{registry_password}}
|