mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +01:00
fbe9cd88f8
* Add prom server on jobservice * Enabeld configs in templates * Enabeld jobservice metrics in nginx Signed-off-by: DQ <dengq@vmware.com>
28 lines
876 B
Django/Jinja
28 lines
876 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}}
|
|
|
|
{% if metric.enabled %}
|
|
METRIC_NAMESPACE=harbor
|
|
METRIC_SUBSYSTEM=jobservice
|
|
{% endif %}
|