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 }}
|
|
|
|
{% 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 %}
|