2018-11-15 04:09:57 +01:00
|
|
|
CORE_SECRET={{core_secret}}
|
|
|
|
JOBSERVICE_SECRET={{jobservice_secret}}
|
2020-02-11 06:47:55 +01:00
|
|
|
{%if internal_tls.enabled %}
|
|
|
|
INTERNAL_TLS_ENABLED=true
|
2020-03-11 19:13:58 +01:00
|
|
|
INTERNAL_TLS_TRUST_CA_PATH=/harbor_cust_cert/harbor_internal_ca.crt
|
2020-02-11 06:47:55 +01:00
|
|
|
INTERNAL_TLS_KEY_PATH=/etc/harbor/ssl/registryctl.key
|
|
|
|
INTERNAL_TLS_CERT_PATH=/etc/harbor/ssl/registryctl.crt
|
|
|
|
{% endif %}
|
2020-03-16 17:52:54 +01:00
|
|
|
{% if internal_tls.verify_client_cert %}
|
|
|
|
INTERNAL_VERIFY_CLIENT_CERT=true
|
|
|
|
{% endif %}
|
2021-08-27 17:54:20 +02:00
|
|
|
{% if trace.enabled %}
|
|
|
|
TRACE_ENABLED=true
|
|
|
|
TRACE_SERVICE_NAME=harbor-registryctl
|
|
|
|
TRACE_SAMPLE_RATE={{ trace.sample_rate }}
|
2021-08-27 18:24:14 +02:00
|
|
|
TRACE_NAMESPACE={{ trace.namespace }}
|
|
|
|
TRACE_ATTRIBUTES={{ trace.attributes | to_json | safe }}
|
|
|
|
{% if trace.jaeger.enabled %}
|
2021-08-27 17:54:20 +02:00
|
|
|
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 %}
|
2021-08-27 18:24:14 +02:00
|
|
|
{%if trace.otel.enabled %}
|
|
|
|
TRACE_OTEL_ENDPOINT={{ trace.otel.endpoint }}
|
2021-08-27 17:54:20 +02:00
|
|
|
TRACE_OTEL_URL_PATH={{ trace.otel.url_path if trace.otel.url_path else '' }}
|
2021-08-27 18:24:14 +02:00
|
|
|
TRACE_OTEL_COMPRESSION={{ trace.otel.compression }}
|
2021-08-27 17:54:20 +02:00
|
|
|
TRACE_OTEL_TIMEOUT={{ trace.otel.timeout }}
|
2021-08-27 18:24:14 +02:00
|
|
|
TRACE_OTEL_INSECURE={{ trace.otel.insecure }}
|
2021-08-27 17:54:20 +02:00
|
|
|
{% endif %}
|
2021-08-27 18:24:14 +02:00
|
|
|
{% endif %}
|