与通用 Docker Registry 集成
本指南说明如何将 Alauda Security Service 与通用 Docker Registry 端点集成,包括兼容 Harbor 的 registry。
前提条件
- 获取 registry 端点,以及用于对 Docker Registry 或 Harbor 实例进行身份验证所需的任何凭据。
集成步骤
- 在 Alauda Security Service 门户中,进入 Platform Configuration > Integrations。
- 在 Image Integrations 部分,选择 Generic Docker Registry。
- 单击 New integration。
- 填写以下字段:
- Integration name:输入此集成的名称。
- Endpoint:指定 registry 地址。
- Username 和 Password:如果您的 registry 需要身份验证,请输入凭据。
- (可选)如果您不使用 TLS 证书连接到 registry,请选择 Disable TLS certificate validation (insecure)。
- 要验证连接,请单击 Test。
- 如果您需要在不立即检查连接的情况下保存配置,请选择 Create integration without testing。
- 单击 Save 完成集成。
说明
- 此集成类型的当前列表视图显示 Name、Endpoint、Username 和 Autogenerated。
- 如果不同的 registry 需要不同的凭据或 TLS 设置,请分别创建集成。
- 如果 registry 使用内部证书链,请先配置信任,再禁用 TLS 验证。