This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.8.5.2.6. 通过 Web 控制台添加 Secret
在构建配置中添加 secret 使其能访问私有存储库
- 创建一个新的 OpenShift Container Platform 项目。
- 创建一个包含用于访问私有源代码存储库的凭证的 secret。
- 创建 docker 构建配置。
- 在构建配置编辑器页面上或在 Web 控制台的 fromimage 页面中设置 Source Secret。
- 点 Save 按钮。