Skip to content

Files

Latest commit

 

History

History
36 lines (26 loc) · 1.07 KB

config-fields-general-clair.adoc

File metadata and controls

36 lines (26 loc) · 1.07 KB

Clair general fields

The following table describes the general configuration fields available for a Clair deployment.

Field Typhttp_listen_ae Description

http_listen_addr

String

Configures where the HTTP API is exposed.

Default: :6060

introspection_addr

String

Configures where Clair’s metrics and health endpoints are exposed.

log_level

String

Sets the logging level. Requires one of the following strings: debug-color, debug, info, warn, error, fatal, panic

tls

String

A map containing the configuration for serving the HTTP API of TLS/SSL and HTTP/2.

.cert

String

The TLS certificate to be used. Must be a full-chain certificate.

Example configuration for general Clair fields

The following example shows a Clair configuration.

Example configuration for general Clair fields
# ...
http_listen_addr: 0.0.0.0:6060
introspection_addr: 0.0.0.0:8089
log_level: info
# ...