第 11 章 自定义快速访问卡
要访问 Red Hat Developer Hub 中的 Home 页面,基本 URL 必须包含 /developer-hub
代理。您可以通过将数据作为代理传递给 app-config.yaml
文件来配置 Home 页面。您可以在以下源的 Home 页面中提供数据:
- 托管在 GitHub 或 GitLab 上的 JSON 文件。
- 使用 API 以 JSON 格式提供 Home 页面数据的专用服务。
11.1. 使用托管 JSON 文件向快速访问卡提供数据 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
先决条件
- 已使用 Operator 或 Helm Chart 安装 Red Hat Developer Hub。请参阅在 OpenShift Container Platform 上安装 Red Hat Developer Hub。
流程
-
要从 JSON 文件访问数据,请在
app-config.yaml
Developer Hub 配置文件中添加以下代码: 将以下代码添加到
app-config.yaml
文件中:Copy to Clipboard Copied! Toggle word wrap Toggle overflow