4.4. 为 Helm 安装更新 Ansible 插件版本号
要升级 Ansible 插件,您必须将 Helm Chart 配置中的 imageTagInfo 参数更新为所需的版本。这会触发 Red Hat Developer Hub 直接从 Red Hat registry 中拉取新容器镜像。
流程
- 登录您的 OpenShift Container Platform 实例。
-
在 OpenShift Developer UI 中,导航到
。 找到
global部分。... global: # Ensure OCI mode is enabled pluginMode: oci # UPDATE this value to the new desired version imageTagInfo: "2.1" # Note: Do not manually update 'plugins' packages; # OCI mode handles the download automatically based on the tag above. dynamic: plugins: []单击 。
Red Hat Developer Hub pod 重启并拉取新的插件版本。
验证
- 在 OpenShift UI 中,单击 Topology。
- 确保 Red Hat Developer Hub 实例可用。