mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-05 00:23:33 +01:00
14095fb10b
* Add trace init to main * Add trace for http server * Add trace for gc * Add env template trace Signed-off-by: Qian Deng <dengq@vmware.com>
31 lines
1.4 KiB
Django/Jinja
31 lines
1.4 KiB
Django/Jinja
CORE_SECRET={{core_secret}}
|
|
JOBSERVICE_SECRET={{jobservice_secret}}
|
|
{%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/registryctl.key
|
|
INTERNAL_TLS_CERT_PATH=/etc/harbor/ssl/registryctl.crt
|
|
{% endif %}
|
|
{% if internal_tls.verify_client_cert %}
|
|
INTERNAL_VERIFY_CLIENT_CERT=true
|
|
{% endif %}
|
|
{% if trace.enabled %}
|
|
TRACE_ENABLED=true
|
|
TRACE_SERVICE_NAME=harbor-registryctl
|
|
TRACE_SAMPLE_RATE={{ trace.sample_rate }}
|
|
{% if trace.jaeger is defined %}
|
|
TRACE_JAEGER_ENDPOINT={{ trace.jaeger.endpoint if trace.jaeger.endpoint else '' }}
|
|
TRACE_JAEGER_USERNAME={{ trace.jaeger.username if trace.jaeger.username else '' }}
|
|
TRACE_JAEGER_PASSWORD={{ trace.jaeger.password if trace.jaeger.password else '' }}
|
|
TRACE_JAEGER_AGENT_HOSTNAME={{ trace.jaeger.agent_host if trace.jaeger.agent_host else '' }}
|
|
TRACE_JAEGER_AGENT_PORT={{ trace.jaeger.agent_port if trace.jaeger.agent_port else '' }}
|
|
{% endif %}
|
|
{%if trace.otel is defined %}
|
|
TRACE_OTEL_ENDPOINT={{ trace.otel.endpoint if trace.otel.endpoint else '' }}
|
|
TRACE_OTEL_URL_PATH={{ trace.otel.url_path if trace.otel.url_path else '' }}
|
|
TRACE_OTEL_COMPRESSION={{ trace.otel.compression if trace.otel.compression else '' }}
|
|
TRACE_OTEL_TIMEOUT={{ trace.otel.timeout }}
|
|
TRACE_OTEL_INSECURE={{ trace.otel.insecure if trace.otel.insecure else '' }}
|
|
{% endif %}
|
|
{% endif %}
|