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 OpenShift Container Platform web console menu, go to Operators > OperatorHub.
- In the Filter by keyword field, enter Developer Hub and click the Red Hat Developer Hub Operator card.
- On the Red Hat Developer Hub Operator page, click Install.
- After the installation completes, navigate to Installed Operators and select Red Hat Developer Hub Operator.
Provision your custom configuration:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow You must create a config map named
app-config-rhdhand a Kubernetes Secret containing theBACKEND_SECRET. These resources are used by the Developer Hub instance for authentication and application settings.For further steps, see Provisioning your custom Red Hat Developer Hub configuration.
Create a config map named
app-config-rhdhthat includes yourapp-config.yamlas shown:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a secret named
my-rhdh-secretsand add a key namedBACKEND_SECRETwith aBase64-encodedstring as value:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Return to the Developer Hub Operator page and click Create New Instance.
- Specify the name and target namespace for the Developer Hub deployment.
- Configure required options such as Git integration, secrets, 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