9.7. Clair updaters 配置字段
下表描述了 Clair 的 updaters 组件 的配置字段。
| 字段 | 类型 | 描述 |
|---|---|---|
| updaters | 对象 | 为匹配器的更新管理器提供配置。 |
| .sets | 字符串 | 一个值列表,告知更新管理器要运行的更新程序。
如果值设为 如果留空,则运行零 updaters。 |
| .config | 字符串 | 为特定更新器集提供配置。 由 updater 集名称的键的映射,其中包含将提供给 updater 设置构造器的子对象。有关每个 updater 的子对象列表,请参阅"高级更新器配置"。 |
updaters 配置示例
在以下配置中,仅配置 rhel 集。也定义了特定于 rhel 更新器的 ignore_unpatched 变量。
updaters 配置示例
# ...
updaters:
sets:
- rhel
config:
rhel:
ignore_unpatched: false
# ...