Installing Red Hat Developer Hub on OpenShift Dedicated on Google Cloud Platform
Abstract
Preface
You can install Developer Hub on OpenShift Dedicated on Google Cloud Platform (GCP) using one of the following methods:
- The Red Hat Developer Hub Operator
- The Red Hat Developer Hub Helm chart
Chapter 1. Installing Red Hat Developer Hub on OpenShift Dedicated on GCP using the Operator
You can install Developer Hub on OpenShift Dedicated on GCP using the Red Hat Developer Hub Operator.
Prerequisites
- You have a valid GCP account.
- Your OpenShift Dedicated cluster is running on GCP. For more information, see Creating a cluster on GCP in Red Hat OpenShift Dedicated documentation.
- You have administrator access to OpenShift Dedicated cluster and GCP project.
Procedure
- In the Administrator perspective of the OpenShift Container Platform web console, click Operators > OperatorHub.
- In the Filter by keyword box, enter Developer Hub and click the Red Hat Developer Hub Operator card.
- On the Red Hat Developer Hub Operator page, click Install.
- In the OpenShift Container Platform console, navigate to Installed Operators and select Red Hat Developer Hub Operator.
- From the Developer Hub Operator page, click Create New Instance and specify the name and namespace where you want to deploy Developer Hub.
- Configure the required settings such as Git integration, secret management, and user permissions.
- Review the configuration, select deployment options, and click Create.
Verification
- To access the Developer Hub, navigate to the Developer Hub URL provided in the OpenShift Container Platform web console.
Additional resources
Chapter 2. Installing Red Hat Developer Hub on OpenShift Dedicated on GCP using the Helm Chart
You can install Developer Hub on OpenShift Dedicated on GCP using the Red Hat Developer Hub Helm Chart.
Prerequisites
- You have a valid GCP account.
- Your OpenShift Dedicated cluster is running on GCP. For more information, see Creating a cluster on GCP in Red Hat OpenShift Dedicated documentation.
- You have installed Helm 3 or the latest.
Procedure
- From the Developer perspective on the Developer Hub web console, click +Add.
- From the Developer Catalog panel, click Helm Chart.
- In the Filter by keyword box, enter Developer Hub and click the Red Hat Developer Hub card.
- From the Red Hat Developer Hub page, click Create.
-
From your cluster, copy the OpenShift Container Platform router host (for example:
apps.<clusterName>.com
). Select the radio button to configure the Developer Hub instance with either the form view or YAML view. The Form view is selected by default.
Using Form view
- To configure the instance with the Form view, go to Root Schema → global → Enable service authentication within Backstage instance and paste your OpenShift Container Platform router host into the field on the form.
Using YAML view
To configure the instance with the YAML view, paste your OpenShift Container Platform router hostname in the
global.clusterRouterBase
parameter value as shown in the following example:global: auth: backend: enabled: true clusterRouterBase: apps.<clusterName>.com # other Red Hat Developer Hub Helm Chart configurations
- Edit the other values if needed, then click Create and wait for the database and Developer Hub to start.
Verification
- To access the the Developer Hub, click the Open URL icon.
Additional resources