第 2 章 自定义 Red Hat Developer Hub 基本 URL
您可以更改默认的 Red Hat Developer Hub 基础 URL。
先决条件
- 您知道所需的 Developer Hub 外部 URL:https:// <my_developer_hub_url >,并配置了 DNS 以指向 Red Hat OpenShift Container Platform 集群。
- 自定义开发人员 Hub 配置。
流程
在自定义
app-config.yaml
文件中,输入您的 Developer Hub 外部 URL,如 https:// <my_developer_hub_url>。app-config.yaml
摘录app: baseUrl: https://<my_developer_hub_url> backend: baseUrl: https://<my_developer_hub_url> cors: origin: https://<my_developer_hub_url>