Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evanshortiss/rhdh-backstage-openshift-template

A simple OpenShift Template to deploy Red Hat Developer Hub using the operator-provided Backstage and Keycloak CRs.
https://github.com/evanshortiss/rhdh-backstage-openshift-template

Last synced: 21 days ago
JSON representation

A simple OpenShift Template to deploy Red Hat Developer Hub using the operator-provided Backstage and Keycloak CRs.

Awesome Lists containing this project

README

        

# Red Hat Developer Hub Deployment

A repository showing a minimal deployment for Red Hat Developer Hub using an
operator-based installation.

Currently it deploys a:

. Keycloak and an associated Postgres for persistent storage.
. Realm into Keycloak to store users.
. Red Hat Developer Hub instance.

## Prerequisites

An OpenShift 4.16 cluster with the Red Hat Keycloak Operator and Red Hat
Developer Hub Operator installed.

## Usage

1. Create a _.env_ file based on the _.env.example_.
1. Create or use an existing GitHub Organization to populate the required values in the _.env_ file using a GitHub app, e.g at https://github.com/organizations/YOUR_ORG_NAME/settings/apps.
1. Generate and download a private key from the prior organizations app, and place it in a file named _gh.private-key.pem_ in the root of the repository.
1. Update the cluster domain in the _.env_ if you're not using OpenShift Local.

Use `oc login` to authenticate against your cluster and run the `deploy.sh` script.

After a few minutes Red Hat Developer Hub will be deployed and you can login as `user1` using the password `rhdh`.