Red Hat Developer Hub 1.4

Installing Red Hat Developer Hub on OpenShift Dedicated on Google Cloud Platform

Red Hat Customer Content Services

Abstract

Red Hat Developer Hub is an enterprise-grade platform for building developer portals. Administrative users can configure roles, permissions, and other settings to enable other authorized users to deploy a Developer Hub instance on Red Hat OpenShift Dedicated on Google Cloud Platform (GCP) using either the Operator or Helm chart.

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

  1. In the Administrator perspective of the OpenShift Container Platform web console, click Operators > OperatorHub.
  2. In the Filter by keyword box, enter Developer Hub and click the Red Hat Developer Hub Operator card.
  3. On the Red Hat Developer Hub Operator page, click Install.
  4. In the OpenShift Container Platform console, navigate to Installed Operators and select Red Hat Developer Hub Operator.
  5. From the Developer Hub Operator page, click Create New Instance and specify the name and namespace where you want to deploy Developer Hub.
  6. Configure the required settings such as Git integration, secret management, and user permissions.
  7. 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.

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

  1. From the Developer perspective on the Developer Hub web console, click +Add.
  2. From the Developer Catalog panel, click Helm Chart.
  3. In the Filter by keyword box, enter Developer Hub and click the Red Hat Developer Hub card.
  4. From the Red Hat Developer Hub page, click Create.
  5. From your cluster, copy the OpenShift Container Platform router host (for example: apps.<clusterName>.com).
  6. 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.

    1. Using Form view

      1. 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.
    2. Using YAML view

      1. 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
  7. 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.

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.