2.5. 配置更新器
updaters 可通过 clair-config.yaml 文件中的 updaters.sets 键配置。
重要
-
如果没有填充
set字段,则默认为使用所有集合。在使用 all sets 中,Clair 会尝试访问每个更新器的 URL 或 URL。如果使用代理环境,则必须在代理允许列表中添加这些 URL。 - 如果在 matcher 进程(默认的设置)中自动运行更新程序,则运行更新器的周期会在 matcher 的配置字段下配置。
2.5.1. 选择特定的更新器集 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
使用以下引用为您的 Red Hat Quay 部署选择一个或多个更新器。
为多个更新器配置 Clair
多个特定的更新器
#...
updaters:
sets:
- alpine
- aws
- osv
#...
为 Alpine 配置 Clair
alpine config.yaml 示例
#...
updaters:
sets:
- alpine
#...
为 AWS 配置 Clair
AWS config.yaml 示例
#...
updaters:
sets:
- aws
#...
为 Debian 配置 Clair
Debian config.yaml 示例
#...
updaters:
sets:
- debian
#...
为 Clair CVSS 配置 Clair
Clair CVSS config.yaml 示例
#...
updaters:
sets:
- clair.cvss
#...
为 Oracle 配置 Clair
Oracle config.yaml 示例
#...
updaters:
sets:
- oracle
#...
为 Photon 配置 Clair
Photon config.yaml 示例
#...
updaters:
sets:
- photon
#...
为 SUSE 配置 Clair
SUSE config.yaml 示例
#...
updaters:
sets:
- suse
#...
为 Ubuntu 配置 Clair
Ubuntu config.yaml 示例
#...
updaters:
sets:
- ubuntu
#...
为 OSV 配置 Clair
OSV config.yaml 示例
#...
updaters:
sets:
- osv
#...