mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
454382149f
Remove trustca in chartmuseum Remove trustca in registry Add tls in clair-adapter Signed-off-by: DQ <dengq@vmware.com>
11 lines
477 B
Django/Jinja
11 lines
477 B
Django/Jinja
SCANNER_LOG_LEVEL={{log_level}}
|
|
SCANNER_CLAIR_URL={{clair_url}}
|
|
SCANNER_CLAIR_DATABASE_URL=postgresql://{{clair_db_username}}:{{clair_db_password}}@{{clair_db_host}}:{{clair_db_port}}/{{clair_db_name}}?sslmode={{clair_db_sslmode}}
|
|
SCANNER_STORE_REDIS_URL={{redis_url_clair}}
|
|
|
|
{%if internal_tls.enabled %}
|
|
SCANNER_API_SERVER_ADDR=:8443
|
|
SCANNER_API_SERVER_TLS_CERTIFICATE=/etc/harbor/ssl/clair_adapter.crt
|
|
SCANNER_API_SERVER_TLS_KEY=/etc/harbor/ssl/clair_adapter.key
|
|
{% endif %}
|