mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 19:50:05 +01:00
19e8527cc1
1. fix level issue in registry.jinja 2. add log level to registryctl Signed-off-by: DQ <dengq@vmware.com>
16 lines
278 B
Django/Jinja
16 lines
278 B
Django/Jinja
---
|
|
{% if internal_tls.enabled %}
|
|
protocol: "https"
|
|
port: 8443
|
|
|
|
https_config:
|
|
cert: "/etc/harbor/ssl/registryctl.crt"
|
|
key: "/etc/harbor/ssl/registryctl.key"
|
|
|
|
{% else %}
|
|
protocol: "http"
|
|
port: 8080
|
|
{% endif %}
|
|
log_level: {{level}}
|
|
registry_config: "/etc/registry/config.yml"
|