This documentation is for a release that is no longer maintained
See documentation for the latest supported version.第2章 Helm チャートを使用して OpenShift Dedicated on GCP に Red Hat Developer Hub をインストールする
Red Hat Developer Hub Helm チャートを使用して、OpenShift Dedicated on GCP に Developer Hub をインストールできます。
前提条件
- 有効な GCP アカウントを持っている。
- OpenShift Dedicated クラスターが GCP 上で実行されている。詳細は、Red Hat OpenShift Dedicated ドキュメントの GCP でのクラスターの作成 を参照してください。
- Helm 3 以降がインストールされている。
手順
- Developer Hub Web コンソールの Developer パースペクティブから、+Add をクリックします。
- Developer Catalog パネルから、Helm Chart をクリックします。
- Filter by keyword ボックスに Developer Hub と入力し、Red Hat Developer Hub カードをクリックします。
- Red Hat Developer Hub ページで、Create をクリックします。
-
クラスターから、OpenShift Container Platform ルーターホスト (例:
apps.<clusterName>.com
) をコピーします。 ラジオボタンを選択して、Form ビューまたは YAML ビューのいずれかを使用して Developer Hub インスタンスを設定します。デフォルトでは Form view が選択されています。
Form view を使用する場合
-
Form view を使用してインスタンスを設定するには、Root Schema
global Enable service authentication within Backstage instance に移動し、OpenShift Container Platform ルーターホストを Form のフィールドに貼り付けます。
-
Form view を使用してインスタンスを設定するには、Root Schema
YAML view を使用する場合
YAML ビューを使用してインスタンスを設定するには、次の例に示すように、
global.clusterRouterBase
パラメーター値に OpenShift Container Platform ルーターのホスト名を貼り付けます。global: auth: backend: enabled: true clusterRouterBase: apps.<clusterName>.com # other Red Hat Developer Hub Helm Chart configurations
global: auth: backend: enabled: true clusterRouterBase: apps.<clusterName>.com # other Red Hat Developer Hub Helm Chart configurations
Copy to Clipboard Copied!
- 必要に応じて他の値を編集し、Create をクリックして、データベースと Developer Hub が起動するのを待ちます。
検証
- Developer Hub にアクセスするには、Open URL アイコンをクリックします。