@@ -12,23 +12,25 @@ type Config struct {
1212 // TLS configures HTTPS support.
1313 //
1414 // Note that any non-trivial deployment means the certificate provided here
15- // will need to be for the name the load balancer uses to connect to a given
16- // Clair instance.
15+ // will need to be for the name used by the load balancer for a given Clair
16+ // instance.
1717 //
18- // This is not used for outgoing requests; setting the SSL_CERT_DIR
19- // environment variable is the recommended way to do that. The release
20- // container has `/var/run/certs` added to the list already.
18+ // Deprecated: Use the [API] configuration hierarchy.
2119 TLS * TLS `yaml:"tls,omitempty" json:"tls,omitempty"`
2220 // Sets which mode the clair instance will run.
2321 Mode Mode `yaml:"-" json:"-"`
2422 // A string in <host>:<port> format where <host> can be an empty string.
2523 //
26- // exposes Clair node's functionality to the network.
27- // see /openapi/v1 for api spec.
24+ // Exposes Clair node's functionality to the network.
25+ // See /openapi/v1 for the API spec.
26+ //
27+ // Deprecated: Use the [API] configuration hierarchy.
2828 HTTPListenAddr string `yaml:"http_listen_addr" json:"http_listen_addr"`
2929 // A string in <host>:<port> format where <host> can be an empty string.
3030 //
31- // exposes Clair's metrics and health endpoints.
31+ // Exposes Clair's metrics and health endpoints.
32+ //
33+ // Deprecated: Use the [Introspection] configuration hierarchy.
3234 IntrospectionAddr string `yaml:"introspection_addr" json:"introspection_addr"`
3335 // Set the logging level.
3436 LogLevel LogLevel `yaml:"log_level" json:"log_level"`
0 commit comments