mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 07:03:35 +01:00
eec4fc2798
The way Harbor handles notification is problematic. It currently triggers rescan, which will cause problem when there are lot of images in the registry. Such as #7316 This commit removes the notifier and we need to revisit the notification to figure out how to map the notification to a particular image if need the notification mechanism in future. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
20 lines
596 B
Django/Jinja
20 lines
596 B
Django/Jinja
clair:
|
|
database:
|
|
type: pgsql
|
|
options:
|
|
source: postgresql://{{clair_db_username}}:{{clair_db_password}}@{{clair_db_host}}:{{clair_db_port}}/{{clair_db_name}}?sslmode={{clair_db_sslmode}}
|
|
|
|
# Number of elements kept in the cache
|
|
# Values unlikely to change (e.g. namespaces) are cached in order to save prevent needless roundtrips to the database.
|
|
cachesize: 16384
|
|
|
|
api:
|
|
# API server port
|
|
port: 6060
|
|
healthport: 6061
|
|
|
|
# Deadline before an API request will respond with a 503
|
|
timeout: 300s
|
|
updater:
|
|
interval: {{clair_updaters_interval}}h
|