Skip to content

Data Center

Overview

The data center is the hosted OpenShift environment for the hackathon. Facilitators provision it through Red Hat Demo Platform (RHDP), optionally enable robot auto-registration during order, and can customize console login branding via GitOps in this repository.

Provision on Red Hat Demo Platform

  1. Open the RHDP catalog and search for robot, or use the Cloud Native Robot Hackathon catalog entry directly.
  2. Complete the order wizard using the field guidance in Full day — Order OpenShift Data Center env.

Robot auto registration (optional)

In the provisioning form, enable robot auto registration if teams should register robots against a GitHub repo automatically:

Values depend on your teams, robot names, and the associated robot-auto-register repository. For setup details and examples, see Robot Auto Register.

Example repository URL:

Customize OpenShift console branding

Branding lives under datacenter/cluster-configuration/ in the infrastructure repo. Work from a clone of that repository on your machine.

Login and OAuth HTML templates

  1. Log in to the data center OpenShift cluster as an admin (see Full day for ordering and access).
  2. Edit the HTML sources in
    datacenter/cluster-configuration/base/namespace/openshift-config/Secret/
    errors-template.html, login-template.html, and providers-template.html.
  3. From that Secret/ directory, run:
./update-secrets.sh

Console logo (light / dark)

  1. In
    datacenter/cluster-configuration/base/namespace/openshift-config/ConfigMap/
    replace or edit openshift-robot-black.png and openshift-robot-white.png as needed (for example export from GIMP as PNG).
  2. From that ConfigMap/ directory, run:
./update-configmap.sh

Publish and sync

  1. Commit and push your changes.
  2. In Argo CD, refresh and sync the cluster-configuration application so the cluster picks up the updates.