Jump To Close Expand all Collapse all Table of contents CI/CD 1. OpenShift Container Platform CI/CD 概述 Expand section "1. OpenShift Container Platform CI/CD 概述" Collapse section "1. OpenShift Container Platform CI/CD 概述" 1.1. OpenShift 构建 1.2. OpenShift Pipelines 1.3. OpenShift GitOps 1.4. Jenkins 2. 构建(build) Expand section "2. 构建(build)" Collapse section "2. 构建(build)" 2.1. 理解镜像构建 Expand section "2.1. 理解镜像构建" Collapse section "2.1. 理解镜像构建" 2.1.1. Builds Expand section "2.1.1. Builds" Collapse section "2.1.1. Builds" 2.1.1.1. Docker 构建 2.1.1.2. Source-to-image 构建 2.1.1.3. Custom 构建 2.1.1.4. Pipeline 构建 2.2. 了解构建配置 Expand section "2.2. 了解构建配置" Collapse section "2.2. 了解构建配置" 2.2.1. BuildConfig 2.3. 创建构建输入 Expand section "2.3. 创建构建输入" Collapse section "2.3. 创建构建输入" 2.3.1. 构建输入 2.3.2. Dockerfile 源 2.3.3. 镜像源 2.3.4. Git 源 Expand section "2.3.4. Git 源" Collapse section "2.3.4. Git 源" 2.3.4.1. 使用代理 2.3.4.2. 源克隆 secret Expand section "2.3.4.2. 源克隆 secret" Collapse section "2.3.4.2. 源克隆 secret" 2.3.4.2.1. 自动把源克隆 secret 添加到构建配置 2.3.4.2.2. 手动添加源克隆 secret 2.3.4.2.3. 从 .gitconfig 文件创建 secret 2.3.4.2.4. 从 .gitconfig 文件为安全 Git 创建 secret 2.3.4.2.5. 从源代码基本身份验证创建 secret 2.3.4.2.6. 从源代码 SSH 密钥身份验证创建 secret 2.3.4.2.7. 从源代码可信证书颁发机构创建 secret 2.3.4.2.8. 源 secret 组合 Expand section "2.3.4.2.8. 源 secret 组合" Collapse section "2.3.4.2.8. 源 secret 组合" 2.3.4.2.8.1. 使用 .gitconfig 文件创建基于 SSH 的身份验证 secret 2.3.4.2.8.2. 创建组合了 .gitconfig 文件和 CA 证书的 secret 2.3.4.2.8.3. 使用 CA 证书创建基本身份验证 secret 2.3.4.2.8.4. 使用 .gitconfig 文件创建基本身份验证 secret 2.3.4.2.8.5. 使用 .gitconfig 文件和 CA 证书创建基本身份验证 secret 2.3.5. 二进制(本地)来源 2.3.6. 输入 secret 和配置映射 Expand section "2.3.6. 输入 secret 和配置映射" Collapse section "2.3.6. 输入 secret 和配置映射" 2.3.6.1. 什么是 secret? Expand section "2.3.6.1. 什么是 secret?" Collapse section "2.3.6.1. 什么是 secret?" 2.3.6.1.1. secret 的属性 2.3.6.1.2. secret 的类型 2.3.6.1.3. 更新 secret 2.3.6.2. 创建 secret 2.3.6.3. 使用 secret 2.3.6.4. 添加输入 secret 和配置映射 2.3.6.5. Source-to-Image 策略 2.3.6.6. Docker 策略 2.3.6.7. Custom 策略 2.3.7. 外部工件 (artifact) 2.3.8. 将 docker 凭证用于私有容器镜像仓库 2.3.9. 构建环境 Expand section "2.3.9. 构建环境" Collapse section "2.3.9. 构建环境" 2.3.9.1. 使用构建字段作为环境变量 2.3.9.2. 使用 secret 作为环境变量 2.3.10. 服务用(service serving)证书 secret 2.3.11. secret 限制 2.4. 管理构建输出 Expand section "2.4. 管理构建输出" Collapse section "2.4. 管理构建输出" 2.4.1. 构建输出 2.4.2. 输出镜像环境变量 2.4.3. 输出镜像标签 2.5. 使用构建策略 Expand section "2.5. 使用构建策略" Collapse section "2.5. 使用构建策略" 2.5.1. Docker 构建 Expand section "2.5.1. Docker 构建" Collapse section "2.5.1. Docker 构建" 2.5.1.1. 替换 Dockerfile FROM 镜像 2.5.1.2. 使用 Dockerfile 路径 2.5.1.3. 使用 Docker 环境变量 2.5.1.4. 添加 Docker 构建参数 2.5.1.5. 使用 docker 构建的 Squash 层 2.5.1.6. 使用构建卷 2.5.2. Source-to-image 构建 Expand section "2.5.2. Source-to-image 构建" Collapse section "2.5.2. Source-to-image 构建" 2.5.2.1. 执行 source-to-image 增量构建 2.5.2.2. 覆盖 source-to-image 构建器镜像脚本 2.5.2.3. Source-to-image 环境变量 Expand section "2.5.2.3. Source-to-image 环境变量" Collapse section "2.5.2.3. Source-to-image 环境变量" 2.5.2.3.1. 使用 Source-to-image 环境文件 2.5.2.3.2. 使用 Source-to-image 构建配置环境 2.5.2.4. 忽略 source-to-image 源文件 2.5.2.5. 使用 Source-to-image 从源代码创建镜像 Expand section "2.5.2.5. 使用 Source-to-image 从源代码创建镜像" Collapse section "2.5.2.5. 使用 Source-to-image 从源代码创建镜像" 2.5.2.5.1. 了解 source-to-image 构建过程 2.5.2.5.2. 如何编写 Source-to-image 脚本 2.5.2.6. 使用构建卷 2.5.3. Custom 构建 Expand section "2.5.3. Custom 构建" Collapse section "2.5.3. Custom 构建" 2.5.3.1. 使用 FROM 镜像进行自定义构建 2.5.3.2. 在自定义构建中使用 secret 2.5.3.3. 使用环境变量进行自定义构建 2.5.3.4. 使用自定义构建器镜像 Expand section "2.5.3.4. 使用自定义构建器镜像" Collapse section "2.5.3.4. 使用自定义构建器镜像" 2.5.3.4.1. 自定义构建器镜像 2.5.3.4.2. 自定义构建器工作流 2.5.4. Pipeline 构建 Expand section "2.5.4. Pipeline 构建" Collapse section "2.5.4. Pipeline 构建" 2.5.4.1. 了解 OpenShift Container Platform 管道 2.5.4.2. 为管道构建提供 Jenkins 文件 2.5.4.3. 使用环境变量进行 Pipeline 构建 Expand section "2.5.4.3. 使用环境变量进行 Pipeline 构建" Collapse section "2.5.4.3. 使用环境变量进行 Pipeline 构建" 2.5.4.3.1. BuildConfig 环境变量和 Jenkins 任务参数之间的映射 2.5.4.4. Pipeline 构建教程 2.5.5. 使用 web 控制台添加 secret 2.5.6. 启用拉取 (pull) 和推送 (push) 2.6. 使用 Buildah 自定义镜像构建 Expand section "2.6. 使用 Buildah 自定义镜像构建" Collapse section "2.6. 使用 Buildah 自定义镜像构建" 2.6.1. 先决条件 2.6.2. 创建自定义构建工件 2.6.3. 构建自定义构建器镜像 2.6.4. 使用自定义构建器镜像 2.7. 执行和配置基本构建 Expand section "2.7. 执行和配置基本构建" Collapse section "2.7. 执行和配置基本构建" 2.7.1. 启动构建 Expand section "2.7.1. 启动构建" Collapse section "2.7.1. 启动构建" 2.7.1.1. 重新运行构建 2.7.1.2. 流传输构建日志 2.7.1.3. 在启动构建时设置环境变量 2.7.1.4. 使用源启动构建 2.7.2. 取消构建 Expand section "2.7.2. 取消构建" Collapse section "2.7.2. 取消构建" 2.7.2.1. 取消多个构建 2.7.2.2. 取消所有构建 2.7.2.3. 取消给定状态下的所有构建 2.7.3. 编辑 BuildConfig 2.7.4. 删除 BuildConfig 2.7.5. 查看构建详情 2.7.6. 访问构建日志 Expand section "2.7.6. 访问构建日志" Collapse section "2.7.6. 访问构建日志" 2.7.6.1. 访问 BuildConfig 日志 2.7.6.2. 访问给定版本构建的 BuildConfig 日志 2.7.6.3. 启用日志详细程度 2.8. 触发和修改构建 Expand section "2.8. 触发和修改构建" Collapse section "2.8. 触发和修改构建" 2.8.1. 构建触发器 Expand section "2.8.1. 构建触发器" Collapse section "2.8.1. 构建触发器" 2.8.1.1. Webhook 触发器 Expand section "2.8.1.1. Webhook 触发器" Collapse section "2.8.1.1. Webhook 触发器" 2.8.1.1.1. 使用 GitHub Webhook 2.8.1.1.2. 使用 GitLab Webhook 2.8.1.1.3. 使用 Bitbucket Webhook 2.8.1.1.4. 使用通用 Webhook 2.8.1.1.5. 显示 Webhook URL 2.8.1.2. 使用镜像更改触发器 2.8.1.3. 识别构建的镜像更改触发器 2.8.1.4. 配置更改触发器 Expand section "2.8.1.4. 配置更改触发器" Collapse section "2.8.1.4. 配置更改触发器" 2.8.1.4.1. 手动设置触发器 2.8.2. 构建 hook Expand section "2.8.2. 构建 hook" Collapse section "2.8.2. 构建 hook" 2.8.2.1. 配置提交后构建 hook 2.8.2.2. 使用 CLI 设置提交后构建 hook 2.9. 执行高级构建 Expand section "2.9. 执行高级构建" Collapse section "2.9. 执行高级构建" 2.9.1. 设置构建资源 2.9.2. 设置最长持续时间 2.9.3. 将构建分配给特定的节点 2.9.4. 串联构建 2.9.5. 修剪构建 2.9.6. 构建运行策略 2.10. 在构建中使用红帽订阅 Expand section "2.10. 在构建中使用红帽订阅" Collapse section "2.10. 在构建中使用红帽订阅" 2.10.1. 为红帽通用基础镜像创建镜像流标签 2.10.2. 将订阅权利添加为构建 secret 2.10.3. 使用 Subscription Manager 运行构建 Expand section "2.10.3. 使用 Subscription Manager 运行构建" Collapse section "2.10.3. 使用 Subscription Manager 运行构建" 2.10.3.1. 使用 Subscription Manager 执行 Docker 构建 2.10.4. 使用 Red Hat Satellite 订阅运行构建 Expand section "2.10.4. 使用 Red Hat Satellite 订阅运行构建" Collapse section "2.10.4. 使用 Red Hat Satellite 订阅运行构建" 2.10.4.1. 将 Red Hat Satellite 配置添加到构建中 2.10.4.2. 使用 Red Hat Satellite 订阅构建 Docker 2.10.5. 其他资源 2.11. 通过策略保护构建 Expand section "2.11. 通过策略保护构建" Collapse section "2.11. 通过策略保护构建" 2.11.1. 在全局范围内禁用构建策略访问 2.11.2. 在全局范围内限制用户使用构建策略 2.11.3. 在项目范围内限制用户使用构建策略 2.12. 构建配置资源 Expand section "2.12. 构建配置资源" Collapse section "2.12. 构建配置资源" 2.12.1. 构建控制器配置参数 2.12.2. 配置构建设置 2.13. 构建故障排除 Expand section "2.13. 构建故障排除" Collapse section "2.13. 构建故障排除" 2.13.1. 解决资源访问遭到拒绝的问题 2.13.2. 服务证书生成失败 2.14. 为构建设置其他可信证书颁发机构 Expand section "2.14. 为构建设置其他可信证书颁发机构" Collapse section "2.14. 为构建设置其他可信证书颁发机构" 2.14.1. 在集群中添加证书颁发机构 2.14.2. 其他资源 3. 从 Jenkins 迁移到 Tekton Expand section "3. 从 Jenkins 迁移到 Tekton" Collapse section "3. 从 Jenkins 迁移到 Tekton" 3.1. 从 Jenkins 迁移到 Tekton Expand section "3.1. 从 Jenkins 迁移到 Tekton" Collapse section "3.1. 从 Jenkins 迁移到 Tekton" 3.1.1. Jenkins 和 Tekton 概念的比较 Expand section "3.1.1. Jenkins 和 Tekton 概念的比较" Collapse section "3.1.1. Jenkins 和 Tekton 概念的比较" 3.1.1.1. Jenkins 术语 3.1.1.2. Tekton 术语 3.1.1.3. 概念映射 3.1.2. 将示例管道从 Jenkins 迁移到 Tekton Expand section "3.1.2. 将示例管道从 Jenkins 迁移到 Tekton" Collapse section "3.1.2. 将示例管道从 Jenkins 迁移到 Tekton" 3.1.2.1. Jenkins 管道 3.1.2.2. Tekton pipeline 3.1.3. 从 Jenkins 插件迁移到 Tekton Hub 任务 3.1.4. 使用自定义任务和脚本扩展 Tekton 功能 3.1.5. Jenkins 和 Tekton 执行模型的比较 3.1.6. 常见使用案例示例 Expand section "3.1.6. 常见使用案例示例" Collapse section "3.1.6. 常见使用案例示例" 3.1.6.1. 在 Jenkins 和 Tekton 中运行 maven 管道 3.1.6.2. 使用插件扩展 Jenkins 和 Tekton 的核心功能 3.1.6.3. 在 Jenkins 和 Tekton 中共享可重复使用的代码 3.1.7. 其他资源 4. Pipelines Expand section "4. Pipelines" Collapse section "4. Pipelines" 4.1. Red Hat OpenShift Pipelines 发行注记 Expand section "4.1. Red Hat OpenShift Pipelines 发行注记" Collapse section "4.1. Red Hat OpenShift Pipelines 发行注记" 4.1.1. 兼容性和支持列表 4.1.2. 使开源包含更多 4.1.3. Red Hat OpenShift Pipelines 正式发行 1.7 发行注记 Expand section "4.1.3. Red Hat OpenShift Pipelines 正式发行 1.7 发行注记" Collapse section "4.1.3. Red Hat OpenShift Pipelines 正式发行 1.7 发行注记" 4.1.3.1. 新功能 Expand section "4.1.3.1. 新功能" Collapse section "4.1.3.1. 新功能" 4.1.3.1.1. Pipelines 4.1.3.1.2. 触发器 4.1.3.1.3. CLI 4.1.3.1.4. Operator 4.1.3.1.5. Hub 4.1.3.1.6. 链 4.1.3.1.7. 管道作为代码(PAC) 4.1.3.2. 已弃用的功能 4.1.3.3. 已知问题 4.1.3.4. 修复的问题 4.1.3.5. Red Hat OpenShift Pipelines 正式发行 1.7.1 发行注记 Expand section "4.1.3.5. Red Hat OpenShift Pipelines 正式发行 1.7.1 发行注记" Collapse section "4.1.3.5. Red Hat OpenShift Pipelines 正式发行 1.7.1 发行注记" 4.1.3.5.1. 修复的问题 4.1.3.6. Red Hat OpenShift Pipelines 正式发布 1.7.2 发行注记 Expand section "4.1.3.6. Red Hat OpenShift Pipelines 正式发布 1.7.2 发行注记" Collapse section "4.1.3.6. Red Hat OpenShift Pipelines 正式发布 1.7.2 发行注记" 4.1.3.6.1. 已知问题 4.1.3.6.2. 修复的问题 4.1.3.7. Red Hat OpenShift Pipelines 正式发布 1.7.3 发行注记 Expand section "4.1.3.7. Red Hat OpenShift Pipelines 正式发布 1.7.3 发行注记" Collapse section "4.1.3.7. Red Hat OpenShift Pipelines 正式发布 1.7.3 发行注记" 4.1.3.7.1. 修复的问题 4.1.4. Red Hat OpenShift Pipelines 正式发行 1.6 发行注记 Expand section "4.1.4. Red Hat OpenShift Pipelines 正式发行 1.6 发行注记" Collapse section "4.1.4. Red Hat OpenShift Pipelines 正式发行 1.6 发行注记" 4.1.4.1. 新功能 4.1.4.2. 已弃用的功能 4.1.4.3. 已知问题 4.1.4.4. 修复的问题 4.1.4.5. Red Hat OpenShift Pipelines 正式发行版本 1.6.1 发行注记 Expand section "4.1.4.5. Red Hat OpenShift Pipelines 正式发行版本 1.6.1 发行注记" Collapse section "4.1.4.5. Red Hat OpenShift Pipelines 正式发行版本 1.6.1 发行注记" 4.1.4.5.1. 已知问题 4.1.4.5.2. 修复的问题 4.1.4.6. Red Hat OpenShift Pipelines 正式发行版本 1.6.2 发行注记 Expand section "4.1.4.6. Red Hat OpenShift Pipelines 正式发行版本 1.6.2 发行注记" Collapse section "4.1.4.6. Red Hat OpenShift Pipelines 正式发行版本 1.6.2 发行注记" 4.1.4.6.1. 已知问题 4.1.4.6.2. 修复的问题 4.1.4.7. Red Hat OpenShift Pipelines 正式发布 1.6.3 发行注记 Expand section "4.1.4.7. Red Hat OpenShift Pipelines 正式发布 1.6.3 发行注记" Collapse section "4.1.4.7. Red Hat OpenShift Pipelines 正式发布 1.6.3 发行注记" 4.1.4.7.1. 修复的问题 4.1.4.8. Red Hat OpenShift Pipelines 正式发布 1.6.4 发行注记 Expand section "4.1.4.8. Red Hat OpenShift Pipelines 正式发布 1.6.4 发行注记" Collapse section "4.1.4.8. Red Hat OpenShift Pipelines 正式发布 1.6.4 发行注记" 4.1.4.8.1. 已知问题 4.1.4.8.2. 修复的问题 4.1.5. Red Hat OpenShift Pipelines 正式发行 1.5 发行注记 Expand section "4.1.5. Red Hat OpenShift Pipelines 正式发行 1.5 发行注记" Collapse section "4.1.5. Red Hat OpenShift Pipelines 正式发行 1.5 发行注记" 4.1.5.1. 兼容性和支持列表 4.1.5.2. 新功能 4.1.5.3. 已弃用的功能 4.1.5.4. 已知问题 4.1.5.5. 修复的问题 4.1.6. Red Hat OpenShift Pipelines 正式发布 1.4 发行注记 Expand section "4.1.6. Red Hat OpenShift Pipelines 正式发布 1.4 发行注记" Collapse section "4.1.6. Red Hat OpenShift Pipelines 正式发布 1.4 发行注记" 4.1.6.1. 兼容性和支持列表 4.1.6.2. 新功能 4.1.6.3. 已弃用的功能 4.1.6.4. 已知问题 4.1.6.5. 修复的问题 4.1.7. Red Hat OpenShift Pipelines 技术预览 1.3 发行注记 Expand section "4.1.7. Red Hat OpenShift Pipelines 技术预览 1.3 发行注记" Collapse section "4.1.7. Red Hat OpenShift Pipelines 技术预览 1.3 发行注记" 4.1.7.1. 新功能 Expand section "4.1.7.1. 新功能" Collapse section "4.1.7.1. 新功能" 4.1.7.1.1. Pipelines 4.1.7.1.2. Pipelines CLI 4.1.7.1.3. 触发器 4.1.7.2. 已弃用的功能 4.1.7.3. 已知问题 4.1.7.4. 修复的问题 4.1.8. Red Hat OpenShift Pipelines 技术预览 1.2 发行注记 Expand section "4.1.8. Red Hat OpenShift Pipelines 技术预览 1.2 发行注记" Collapse section "4.1.8. Red Hat OpenShift Pipelines 技术预览 1.2 发行注记" 4.1.8.1. 新功能 Expand section "4.1.8.1. 新功能" Collapse section "4.1.8.1. 新功能" 4.1.8.1.1. Pipelines 4.1.8.1.2. Pipelines CLI 4.1.8.1.3. 触发器 4.1.8.2. 已弃用的功能 4.1.8.3. 已知问题 4.1.8.4. 修复的问题 4.1.9. Red Hat OpenShift Pipelines 技术预览 1.1 发行注记 Expand section "4.1.9. Red Hat OpenShift Pipelines 技术预览 1.1 发行注记" Collapse section "4.1.9. Red Hat OpenShift Pipelines 技术预览 1.1 发行注记" 4.1.9.1. 新功能 Expand section "4.1.9.1. 新功能" Collapse section "4.1.9.1. 新功能" 4.1.9.1.1. Pipelines 4.1.9.1.2. Pipelines CLI 4.1.9.1.3. 触发器 4.1.9.2. 已弃用的功能 4.1.9.3. 已知问题 4.1.9.4. 修复的问题 4.1.10. Red Hat OpenShift Pipelines 技术预览 1.0 发行注记 Expand section "4.1.10. Red Hat OpenShift Pipelines 技术预览 1.0 发行注记" Collapse section "4.1.10. Red Hat OpenShift Pipelines 技术预览 1.0 发行注记" 4.1.10.1. 新功能 Expand section "4.1.10.1. 新功能" Collapse section "4.1.10.1. 新功能" 4.1.10.1.1. Pipelines 4.1.10.1.2. Pipelines CLI 4.1.10.1.3. 触发器 4.1.10.2. 已弃用的功能 4.1.10.3. 已知问题 4.1.10.4. 修复的问题 4.2. 了解 OpenShift Pipelines Expand section "4.2. 了解 OpenShift Pipelines" Collapse section "4.2. 了解 OpenShift Pipelines" 4.2.1. 主要特性 4.2.2. OpenShift Pipeline 概念 Expand section "4.2.2. OpenShift Pipeline 概念" Collapse section "4.2.2. OpenShift Pipeline 概念" 4.2.2.1. 任务 4.2.2.2. When 表达式 4.2.2.3. 最后的任务 4.2.2.4. TaskRun 4.2.2.5. Pipelines 4.2.2.6. PipelineRun 4.2.2.7. Workspaces(工作区) 4.2.2.8. 触发器 4.2.3. 其他资源 4.3. 安装 OpenShift Pipelines Expand section "4.3. 安装 OpenShift Pipelines" Collapse section "4.3. 安装 OpenShift Pipelines" 4.3.1. 在 Web 控制台中安装 Red Hat OpenShift Pipelines Operator 4.3.2. 使用 CLI 安装 OpenShift Pipelines Operator 4.3.3. 在受限环境中的 Red Hat OpenShift Pipelines Operator 4.3.4. 禁用自动创建 RBAC 资源 4.3.5. 其他资源 4.4. 卸载 OpenShift Pipelines Expand section "4.4. 卸载 OpenShift Pipelines" Collapse section "4.4. 卸载 OpenShift Pipelines" 4.4.1. 删除 Red Hat OpenShift Pipelines 组件和自定义资源 4.4.2. 卸载 Red Hat OpenShift Pipelines Operator 4.5. 为使用 OpenShift Pipelines 的应用程序创建 CI/CD 解决方案 Expand section "4.5. 为使用 OpenShift Pipelines 的应用程序创建 CI/CD 解决方案" Collapse section "4.5. 为使用 OpenShift Pipelines 的应用程序创建 CI/CD 解决方案" 4.5.1. 先决条件 4.5.2. 创建项目并检查管道服务帐户 4.5.3. 创建管道任务 4.5.4. 组装管道 4.5.5. 镜像以在受限环境中运行管道 4.5.6. 运行管道 4.5.7. 在管道中添加触发器 4.5.8. 配置事件监听程序为多个命名空间提供服务 4.5.9. 创建 Webhook 4.5.10. 触发一个管道运行 4.5.11. 为用户定义的项目启用触发器监控事件监听程序 4.5.12. 其他资源 4.6. 管理未指定版本的和版本化的集群任务 Expand section "4.6. 管理未指定版本的和版本化的集群任务" Collapse section "4.6. 管理未指定版本的和版本化的集群任务" 4.6.1. 非版本和版本的集群任务之间的区别 4.6.2. 非版本和版本的集群任务的优点和缺陷 4.6.3. 禁用未指定版本和版本的集群任务 4.7. 在 OpenShift Pipelines 中使用 Tekton Hub Expand section "4.7. 在 OpenShift Pipelines 中使用 Tekton Hub" Collapse section "4.7. 在 OpenShift Pipelines 中使用 Tekton Hub" 4.7.1. 在 OpenShift Container Platform 集群上安装并部署 Tekton Hub Expand section "4.7.1. 在 OpenShift Container Platform 集群上安装并部署 Tekton Hub" Collapse section "4.7.1. 在 OpenShift Container Platform 集群上安装并部署 Tekton Hub" 4.7.1.1. 在 Tekton Hub 中手动刷新目录 4.7.1.2. 可选:设置在 Tekton Hub 中刷新目录的 cron 作业 4.7.1.3. 可选:在 Tekton Hub 配置中添加新用户 4.7.2. 在 Developer 视角中选择 Tekton Hub 4.7.3. 其他资源 4.8. 使用 Pipelines as Code Expand section "4.8. 使用 Pipelines as Code" Collapse section "4.8. 使用 Pipelines as Code" 4.8.1. 主要特性 4.8.2. 在 OpenShift Container Platform 上安装 Pipelines 作为代码 4.8.3. 将管道安装为代码 CLI 4.8.4. 将 Pipelines 配置为 Git 存储库托管服务提供商的代码 Expand section "4.8.4. 将 Pipelines 配置为 Git 存储库托管服务提供商的代码" Collapse section "4.8.4. 将 Pipelines 配置为 Git 存储库托管服务提供商的代码" 4.8.4.1. 为 GitHub 应用程序配置 Pipelines 作为代码 Expand section "4.8.4.1. 为 GitHub 应用程序配置 Pipelines 作为代码" Collapse section "4.8.4.1. 为 GitHub 应用程序配置 Pipelines 作为代码" 4.8.4.1.1. 配置 GitHub 应用程序 4.8.4.1.2. 配置 Pipelines as Code 来访问一个 GitHub 应用程序 4.8.5. Pipelines as Code 命令参考 Expand section "4.8.5. Pipelines as Code 命令参考" Collapse section "4.8.5. Pipelines as Code 命令参考" 4.8.5.1. 基本语法 4.8.5.2. 全局选项 4.8.5.3. 工具命令 Expand section "4.8.5.3. 工具命令" Collapse section "4.8.5.3. 工具命令" 4.8.5.3.1. bootstrap 4.8.5.3.2. 软件仓库 4.8.5.3.3. generate 4.8.5.3.4. 解析 4.8.6. 自定义 Pipelines as Code 配置 4.8.7. 其他资源 4.9. 在 Developer 视角中使用 Red Hat OpenShift Pipelines Expand section "4.9. 在 Developer 视角中使用 Red Hat OpenShift Pipelines" Collapse section "4.9. 在 Developer 视角中使用 Red Hat OpenShift Pipelines" 4.9.1. 使用 Pipeline 构建器构建管道 4.9.2. 使用 OpenShift Pipelines 创建应用程序 4.9.3. 使用 Developer 视角与管道交互 4.9.4. 使用自定义管道模板从 Git 存储库创建和部署应用程序 4.9.5. 启动管道 4.9.6. 编辑管道 4.9.7. 删除管道 4.10. 减少 OpenShift Pipelines 的资源消耗 Expand section "4.10. 减少 OpenShift Pipelines 的资源消耗" Collapse section "4.10. 减少 OpenShift Pipelines 的资源消耗" 4.10.1. 了解管道中的资源消耗 4.10.2. 缓解管道中的额外资源消耗 4.10.3. 其他资源 4.11. 为 OpenShift Pipelines 设置计算资源配额 Expand section "4.11. 为 OpenShift Pipelines 设置计算资源配额" Collapse section "4.11. 为 OpenShift Pipelines 设置计算资源配额" 4.11.1. 在 OpenShift Pipelines 中限制计算资源消耗的替代方法 4.11.2. 使用优先级类指定管道资源配额 4.11.3. 其他资源 4.12. 自动修剪任务运行和管道运行 Expand section "4.12. 自动修剪任务运行和管道运行" Collapse section "4.12. 自动修剪任务运行和管道运行" 4.12.1. 自动修剪任务运行和管道运行的注解 4.12.2. 其他资源 4.13. 在特权安全上下文中使用 pod Expand section "4.13. 在特权安全上下文中使用 pod" Collapse section "4.13. 在特权安全上下文中使用 pod" 4.13.1. 运行管道运行和任务运行带有特权安全上下文的 Pod 4.13.2. 使用自定义 SCC 和自定义服务帐户运行管道运行和任务 4.13.3. 其他资源 4.14. 使用事件监听程序保护 Webhook Expand section "4.14. 使用事件监听程序保护 Webhook" Collapse section "4.14. 使用事件监听程序保护 Webhook" 4.14.1. 提供与 OpenShift 路由的安全连接 4.14.2. 使用安全 HTTPS 连接创建示例 EventListener 资源 4.15. 使用 git secret 验证管道 Expand section "4.15. 使用 git secret 验证管道" Collapse section "4.15. 使用 git secret 验证管道" 4.15.1. 凭证选择 4.15.2. 为 Git 配置基本身份验证 4.15.3. 为 Git 配置 SSH 身份验证 4.15.4. 在 git 类型任务中使用 SSH 身份验证 4.15.5. 以非 root 用户身份使用 secret 4.15.6. 限制对特定步骤的 secret 访问 4.16. 为 OpenShift Pipelines 提供链安全使用 Tekton 链 Expand section "4.16. 为 OpenShift Pipelines 提供链安全使用 Tekton 链" Collapse section "4.16. 为 OpenShift Pipelines 提供链安全使用 Tekton 链" 4.16.1. 主要特性 4.16.2. 使用 Red Hat OpenShift Pipelines Operator 安装 Tekton 链 4.16.3. 配置 Tekton 链 Expand section "4.16.3. 配置 Tekton 链" Collapse section "4.16.3. 配置 Tekton 链" 4.16.3.1. Tekton Chains 配置支持的键 Expand section "4.16.3.1. Tekton Chains 配置支持的键" Collapse section "4.16.3.1. Tekton Chains 配置支持的键" 4.16.3.1.1. 任务运行支持的键 4.16.3.1.2. OCI 支持的密钥 4.16.3.1.3. 支持的存储密钥 4.16.4. 在 Tekton Chains 中签名 secret Expand section "4.16.4. 在 Tekton Chains 中签名 secret" Collapse section "4.16.4. 在 Tekton Chains 中签名 secret" 4.16.4.1. 使用 x509 进行签名 4.16.4.2. 使用 cosign 进行签名 4.16.4.3. 签名故障排除 4.16.5. 对 OCI registry 进行身份验证 Expand section "4.16.5. 对 OCI registry 进行身份验证" Collapse section "4.16.5. 对 OCI registry 进行身份验证" 4.16.5.1. 创建和验证任务运行签名而无需任何其他身份验证 4.16.6. 使用 Tekton 链来签名和验证镜像并证明 4.16.7. 其他资源 4.17. 使用 OpenShift Logging Operator 查看管道日志 Expand section "4.17. 使用 OpenShift Logging Operator 查看管道日志" Collapse section "4.17. 使用 OpenShift Logging Operator 查看管道日志" 4.17.1. 先决条件 4.17.2. 在 Kibana 中查看管道日志 4.17.3. 其他资源 5. GitOps Expand section "5. GitOps" Collapse section "5. GitOps" 5.1. Red Hat OpenShift GitOps 发行注记 Expand section "5.1. Red Hat OpenShift GitOps 发行注记" Collapse section "5.1. Red Hat OpenShift GitOps 发行注记" 5.1.1. 兼容性和支持列表 Expand section "5.1.1. 兼容性和支持列表" Collapse section "5.1.1. 兼容性和支持列表" 5.1.1.1. 技术预览功能 5.1.2. 使开源包含更多 5.1.3. Red Hat OpenShift GitOps 1.6.7 发行注记 Expand section "5.1.3. Red Hat OpenShift GitOps 1.6.7 发行注记" Collapse section "5.1.3. Red Hat OpenShift GitOps 1.6.7 发行注记" 5.1.3.1. 修复的问题 5.1.4. Red Hat OpenShift GitOps 1.6.6 发行注记 Expand section "5.1.4. Red Hat OpenShift GitOps 1.6.6 发行注记" Collapse section "5.1.4. Red Hat OpenShift GitOps 1.6.6 发行注记" 5.1.4.1. 修复的问题 5.1.5. Red Hat OpenShift GitOps 1.6.4 发行注记 Expand section "5.1.5. Red Hat OpenShift GitOps 1.6.4 发行注记" Collapse section "5.1.5. Red Hat OpenShift GitOps 1.6.4 发行注记" 5.1.5.1. 修复的问题 5.1.6. Red Hat OpenShift GitOps 1.6.2 发行注记 Expand section "5.1.6. Red Hat OpenShift GitOps 1.6.2 发行注记" Collapse section "5.1.6. Red Hat OpenShift GitOps 1.6.2 发行注记" 5.1.6.1. 新功能 5.1.6.2. 修复的问题 5.1.7. Red Hat OpenShift GitOps 1.6.1 发现注记 Expand section "5.1.7. Red Hat OpenShift GitOps 1.6.1 发现注记" Collapse section "5.1.7. Red Hat OpenShift GitOps 1.6.1 发现注记" 5.1.7.1. 修复的问题 5.1.8. Release notes for Red Hat OpenShift GitOps 1.6.0 Expand section "5.1.8. Release notes for Red Hat OpenShift GitOps 1.6.0" Collapse section "5.1.8. Release notes for Red Hat OpenShift GitOps 1.6.0" 5.1.8.1. 新功能 5.1.8.2. 修复的问题 5.1.8.3. 已知问题 5.1.9. Red Hat OpenShift GitOps 1.5.9 发行注记 Expand section "5.1.9. Red Hat OpenShift GitOps 1.5.9 发行注记" Collapse section "5.1.9. Red Hat OpenShift GitOps 1.5.9 发行注记" 5.1.9.1. 修复的问题 5.1.10. Red Hat OpenShift GitOps 1.5.7 发行注记 Expand section "5.1.10. Red Hat OpenShift GitOps 1.5.7 发行注记" Collapse section "5.1.10. Red Hat OpenShift GitOps 1.5.7 发行注记" 5.1.10.1. 修复的问题 5.1.11. Red Hat OpenShift GitOps 1.5.6 发现注记 Expand section "5.1.11. Red Hat OpenShift GitOps 1.5.6 发现注记" Collapse section "5.1.11. Red Hat OpenShift GitOps 1.5.6 发现注记" 5.1.11.1. 修复的问题 5.1.12. Red Hat OpenShift GitOps 1.5.5 的发行注记 Expand section "5.1.12. Red Hat OpenShift GitOps 1.5.5 的发行注记" Collapse section "5.1.12. Red Hat OpenShift GitOps 1.5.5 的发行注记" 5.1.12.1. 新功能 5.1.12.2. 修复的问题 5.1.12.3. 已知问题 5.1.13. Red Hat OpenShift GitOps 1.5.4 发行注记 Expand section "5.1.13. Red Hat OpenShift GitOps 1.5.4 发行注记" Collapse section "5.1.13. Red Hat OpenShift GitOps 1.5.4 发行注记" 5.1.13.1. 修复的问题 5.1.14. Red Hat OpenShift GitOps 1.5.3 发行注记 Expand section "5.1.14. Red Hat OpenShift GitOps 1.5.3 发行注记" Collapse section "5.1.14. Red Hat OpenShift GitOps 1.5.3 发行注记" 5.1.14.1. 修复的问题 5.1.15. Red Hat OpenShift GitOps 1.5.2 发行注记 Expand section "5.1.15. Red Hat OpenShift GitOps 1.5.2 发行注记" Collapse section "5.1.15. Red Hat OpenShift GitOps 1.5.2 发行注记" 5.1.15.1. 修复的问题 5.1.16. Red Hat OpenShift GitOps 1.5.1 发行注记 Expand section "5.1.16. Red Hat OpenShift GitOps 1.5.1 发行注记" Collapse section "5.1.16. Red Hat OpenShift GitOps 1.5.1 发行注记" 5.1.16.1. 修复的问题 5.1.17. Red Hat OpenShift GitOps 1.5.0 发行注记 Expand section "5.1.17. Red Hat OpenShift GitOps 1.5.0 发行注记" Collapse section "5.1.17. Red Hat OpenShift GitOps 1.5.0 发行注记" 5.1.17.1. 新功能 5.1.17.2. 修复的问题 5.1.17.3. 已知问题 5.1.18. Red Hat OpenShift GitOps 1.4.13 发行注记 Expand section "5.1.18. Red Hat OpenShift GitOps 1.4.13 发行注记" Collapse section "5.1.18. Red Hat OpenShift GitOps 1.4.13 发行注记" 5.1.18.1. 修复的问题 5.1.19. Red Hat OpenShift GitOps 1.4.12 发行注记 Expand section "5.1.19. Red Hat OpenShift GitOps 1.4.12 发行注记" Collapse section "5.1.19. Red Hat OpenShift GitOps 1.4.12 发行注记" 5.1.19.1. 修复的问题 5.1.20. Red Hat OpenShift GitOps 1.4.11 发行注记 Expand section "5.1.20. Red Hat OpenShift GitOps 1.4.11 发行注记" Collapse section "5.1.20. Red Hat OpenShift GitOps 1.4.11 发行注记" 5.1.20.1. 新功能 5.1.20.2. 修复的问题 5.1.20.3. 已知问题 5.1.21. Red Hat OpenShift GitOps 1.4.6 发行注记 Expand section "5.1.21. Red Hat OpenShift GitOps 1.4.6 发行注记" Collapse section "5.1.21. Red Hat OpenShift GitOps 1.4.6 发行注记" 5.1.21.1. 修复的问题 5.1.22. Red Hat OpenShift GitOps 1.4.5 发行注记 Expand section "5.1.22. Red Hat OpenShift GitOps 1.4.5 发行注记" Collapse section "5.1.22. Red Hat OpenShift GitOps 1.4.5 发行注记" 5.1.22.1. 修复的问题 5.1.23. Red Hat OpenShift GitOps 1.4.3 的发行注记 Expand section "5.1.23. Red Hat OpenShift GitOps 1.4.3 的发行注记" Collapse section "5.1.23. Red Hat OpenShift GitOps 1.4.3 的发行注记" 5.1.23.1. 修复的问题 5.1.24. Release notes for Red Hat OpenShift GitOps 1.4.2 Expand section "5.1.24. Release notes for Red Hat OpenShift GitOps 1.4.2" Collapse section "5.1.24. Release notes for Red Hat OpenShift GitOps 1.4.2" 5.1.24.1. 修复的问题 5.1.25. Red Hat OpenShift GitOps 1.4.1 发行注记 Expand section "5.1.25. Red Hat OpenShift GitOps 1.4.1 发行注记" Collapse section "5.1.25. Red Hat OpenShift GitOps 1.4.1 发行注记" 5.1.25.1. 修复的问题 5.1.26. Red Hat OpenShift GitOps 1.4.0 发行注记 Expand section "5.1.26. Red Hat OpenShift GitOps 1.4.0 发行注记" Collapse section "5.1.26. Red Hat OpenShift GitOps 1.4.0 发行注记" 5.1.26.1. 新功能 5.1.26.2. 修复的问题 5.1.26.3. 已知问题 5.1.27. Red Hat OpenShift GitOps 1.3.7 发行注记 Expand section "5.1.27. Red Hat OpenShift GitOps 1.3.7 发行注记" Collapse section "5.1.27. Red Hat OpenShift GitOps 1.3.7 发行注记" 5.1.27.1. 修复的问题 5.1.28. Red Hat OpenShift GitOps 1.3.6 发行注记 Expand section "5.1.28. Red Hat OpenShift GitOps 1.3.6 发行注记" Collapse section "5.1.28. Red Hat OpenShift GitOps 1.3.6 发行注记" 5.1.28.1. 修复的问题 5.1.29. Red Hat OpenShift GitOps 1.3.2 发行注记 Expand section "5.1.29. Red Hat OpenShift GitOps 1.3.2 发行注记" Collapse section "5.1.29. Red Hat OpenShift GitOps 1.3.2 发行注记" 5.1.29.1. 新功能 5.1.29.2. 修复的问题 5.1.30. Red Hat OpenShift GitOps 1.3.1 发行注记 Expand section "5.1.30. Red Hat OpenShift GitOps 1.3.1 发行注记" Collapse section "5.1.30. Red Hat OpenShift GitOps 1.3.1 发行注记" 5.1.30.1. 修复的问题 5.1.31. Red Hat OpenShift GitOps 1.3 发行注记 Expand section "5.1.31. Red Hat OpenShift GitOps 1.3 发行注记" Collapse section "5.1.31. Red Hat OpenShift GitOps 1.3 发行注记" 5.1.31.1. 新功能 5.1.31.2. 修复的问题 5.1.31.3. 已知问题 5.1.32. Red Hat OpenShift GitOps 1.2.2 发行注记 Expand section "5.1.32. Red Hat OpenShift GitOps 1.2.2 发行注记" Collapse section "5.1.32. Red Hat OpenShift GitOps 1.2.2 发行注记" 5.1.32.1. 修复的问题 5.1.33. Red Hat OpenShift GitOps 1.2.1 发行注记 Expand section "5.1.33. Red Hat OpenShift GitOps 1.2.1 发行注记" Collapse section "5.1.33. Red Hat OpenShift GitOps 1.2.1 发行注记" 5.1.33.1. 支持列表 5.1.33.2. 修复的问题 5.1.34. Red Hat OpenShift GitOps 1.2 发行注记 Expand section "5.1.34. Red Hat OpenShift GitOps 1.2 发行注记" Collapse section "5.1.34. Red Hat OpenShift GitOps 1.2 发行注记" 5.1.34.1. 支持列表 5.1.34.2. 新功能 5.1.34.3. 修复的问题 5.1.34.4. 已知问题 5.1.35. Red Hat OpenShift GitOps 1.1 发行注记 Expand section "5.1.35. Red Hat OpenShift GitOps 1.1 发行注记" Collapse section "5.1.35. Red Hat OpenShift GitOps 1.1 发行注记" 5.1.35.1. 支持列表 5.1.35.2. 新功能 5.1.35.3. 修复的问题 5.1.35.4. 已知问题 5.1.35.5. 有问题的更改 Expand section "5.1.35.5. 有问题的更改" Collapse section "5.1.35.5. 有问题的更改" 5.1.35.5.1. 从 Red Hat OpenShift GitOps v1.0.1 升级 5.2. 了解 OpenShift GitOps Expand section "5.2. 了解 OpenShift GitOps" Collapse section "5.2. 了解 OpenShift GitOps" 5.2.1. 关于 GitOps 5.2.2. 关于 Red Hat OpenShift GitOps Expand section "5.2.2. 关于 Red Hat OpenShift GitOps" Collapse section "5.2.2. 关于 Red Hat OpenShift GitOps" 5.2.2.1. 主要特性 5.3. 安装 Red Hat OpenShift GitOps Expand section "5.3. 安装 Red Hat OpenShift GitOps" Collapse section "5.3. 安装 Red Hat OpenShift GitOps" 5.3.1. 在 Web 控制台中安装 Red Hat OpenShift GitOps Operator 5.3.2. 使用 CLI 安装 Red Hat OpenShift GitOps Operator 5.3.3. 使用 Argo CD admin 帐户登录到 Argo CD 实例 5.4. 卸载 OpenShift GitOps Expand section "5.4. 卸载 OpenShift GitOps" Collapse section "5.4. 卸载 OpenShift GitOps" 5.4.1. 删除 Argo CD 实例 5.4.2. 卸载 GitOps Operator 5.5. 通过部署带有集群配置的应用程序来配置 OpenShift 集群 Expand section "5.5. 通过部署带有集群配置的应用程序来配置 OpenShift 集群" Collapse section "5.5. 通过部署带有集群配置的应用程序来配置 OpenShift 集群" 5.5.1. 使用 Argo CD 实例管理集群范围的资源 5.5.2. Argocd 实例的默认权限 5.5.3. 在集群级别运行 Argo CD 实例 5.5.4. 使用 Argo CD 仪表板创建应用程序 5.5.5. 使用 oc 工具创建应用程序 5.5.6. 将应用程序与 Git 存储库同步 5.5.7. 集群配置的内置权限 5.5.8. 为集群配置添加权限 5.5.9. 使用 Red Hat OpenShift GitOps 安装 OLM Operator Expand section "5.5.9. 使用 Red Hat OpenShift GitOps 安装 OLM Operator" Collapse section "5.5.9. 使用 Red Hat OpenShift GitOps 安装 OLM Operator" 5.5.9.1. 安装集群范围的 Operator 5.5.9.2. 安装 namepace-scoped Operator 5.6. 使用 Argo CD 部署 Spring Boot 应用程序 Expand section "5.6. 使用 Argo CD 部署 Spring Boot 应用程序" Collapse section "5.6. 使用 Argo CD 部署 Spring Boot 应用程序" 5.6.1. 使用 Argo CD 仪表板创建应用程序 5.6.2. 使用 oc 工具创建应用程序 5.6.3. 验证 Argo CD 自助行为 5.7. Argo CD Operator Expand section "5.7. Argo CD Operator" Collapse section "5.7. Argo CD Operator" 5.7.1. Argo CD CLI 工具 5.7.2. Argo CD 自定义资源属性 5.7.3. 仓库服务器属性 5.7.4. 使用 Argo CD 实例启用通知 5.8. 监控应用程序资源和部署的健康状况信息 Expand section "5.8. 监控应用程序资源和部署的健康状况信息" Collapse section "5.8. 监控应用程序资源和部署的健康状况信息" 5.8.1. 检查健康信息 5.9. 使用 Dex 为 Argo CD 配置 SSO Expand section "5.9. 使用 Dex 为 Argo CD 配置 SSO" Collapse section "5.9. 使用 Dex 为 Argo CD 配置 SSO" 5.9.1. 启用 Dex OpenShift OAuth 连接器 Expand section "5.9.1. 启用 Dex OpenShift OAuth 连接器" Collapse section "5.9.1. 启用 Dex OpenShift OAuth 连接器" 5.9.1.1. 将用户映射到特定的角色 5.9.2. 禁用 Dex 5.10. 使用 Keycloak 为 Argo CD 配置 SSO Expand section "5.10. 使用 Keycloak 为 Argo CD 配置 SSO" Collapse section "5.10. 使用 Keycloak 为 Argo CD 配置 SSO" 5.10.1. 在 Keycloak 中配置新客户端 5.10.2. 登录到 Keycloak 5.10.3. 卸载 Keycloak 5.11. 配置 Argo CD RBAC Expand section "5.11. 配置 Argo CD RBAC" Collapse section "5.11. 配置 Argo CD RBAC" 5.11.1. 配置用户级别访问权限 5.11.2. 修改 RHSSO 资源请求/限制 5.12. 在基础架构节点上运行 GitOps control plane 工作负载 Expand section "5.12. 在基础架构节点上运行 GitOps control plane 工作负载" Collapse section "5.12. 在基础架构节点上运行 GitOps control plane 工作负载" 5.12.1. 将 GitOps 工作负载移到基础架构节点 5.13. GitOps Operator 的大小要求 Expand section "5.13. GitOps Operator 的大小要求" Collapse section "5.13. GitOps Operator 的大小要求" 5.13.1. GitOps 的大小要求 法律通告 Settings Close Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page CI/CD OpenShift Container Platform 4.9包含有关 OpenShift Container Platform 构建、管道和 GitOps 的信息 Red Hat OpenShift Documentation Team法律通告摘要 OpenShift Container Platform 的 CI/CD Next