hub/internal/scanner
Sergio C. Arteaga 899584cd9b
Reorganize some configuration values (#1189)
This PR addresses the following problems:

- Some config values used by internal packages are component dependent
- Some config sections are (or may eventually be) duplicated in multiple components sections

The following changes have been applied:

- Email configuration block has been moved out of the `hub` section to the root of the values file.
- Github token has been moved out of the `tracker` section to a new `creds` section at the root of the values file.
- Docker username and password have been moved out of the `scanner` section to the new `creds` section.
- Image store has been moved out of the `tracker` section to a new `images` section at the root of the values file.
- Tracking and scanning events have been moved out of the `tracker` and `scanner` sections respectively to a new `events` section at the root of the values file.

**Please note that existing deployments may need to update some or all of these values to avoid breaking some features.**

Closes #1186

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-03-19 11:47:51 +01:00
..
mock.go
scanner.go Add some context to images scanner errors (#1155) 2021-02-26 11:57:05 +01:00
scanner_test.go Add some context to images scanner errors (#1155) 2021-02-26 11:57:05 +01:00
trivy.go Reorganize some configuration values (#1189) 2021-03-19 11:47:51 +01:00