redhat-developer-hub
A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage. The telemetry data collection feature is enabled by default. Red Hat Developer Hub sends telemetry data to Red Hat by using the `backstage-plugin-analytics-provider-segment` plugin. To disable this and to learn what data is being collected, see https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.10/html-single/telemetry_data_collection_and_analysis/index
About this chart
Red Hat Developer Hub is a Red Hat supported version of Backstage. It comes with pre-built plug-ins and configuration settings, supports use of an external database, and can help streamline the process of setting up a self-managed internal developer portal for adopters who are just starting out.
Dependencies
The helm chart packages the following subcharts. Their respective values are available under the subchart name key in Helm values.
| Repository | Name | Version |
|---|---|---|
| https://charts.bitnami.com/bitnami | common | 2.41.0 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 16.2.5 |
Telemetry data collection
The telemetry data collection feature is enabled by default. Red Hat Developer Hub sends telemetry data to Red Hat by using the backstage-plugin-analytics-provider-segment plugin. To disable this and to learn what data is being collected, see Red Hat Developer Hub documentation on telemetry data collection.
Installation
Important: This chart uses PostgreSQL 18 for its embedded database. When upgrading an existing deployment that uses the embedded PostgreSQL 15 database, back up the database, provision fresh PostgreSQL 18 storage, and restore the backup. PostgreSQL 18 cannot directly reuse a PostgreSQL 15 data directory or persistent volume.
Prerequisites
The helm chart deploys Red Hat Developer Hub and includes the following prerequisites:
- You have a Developer Sandbox subscription or a Red Hat Developer Hub subscription
- Kubernetes 1.25+ (OpenShift 4.12+)
- Helm 3.10+ or latest release
PersistentVolumeprovisioner support in the underlying infrastructure is available.
Procedure
OpenShift Helm Catalog
-
Click the "Create" button at the top of the modal dialog on this page
-
Update host settings, so Backstage can create proper connection between its frontend and backend:
-
If you plan to use the default OpenShift router, please update:
openshift: clusterRouterBase: apps.example.com -
If you want to host Red Hat Developer Hub on a custom host or if you are not using OpenShift, please update:
host: backstage.example.com -
If you are not using OpenShift, please instruct the chart not to deploy
Routeresource and useIngressinstead:openshift: route: enabled: false ingress: enabled: true
-
-
Update your storage preference. If you do not want persistent storage attached to the deployed database, please update:
postgresql: primary: persistence: enabled: false
Manual installation from the Chart Repository
-
Add the chart repository using the following command:
helm repo add openshift-helm-charts https://charts.openshift.io/ -
Download the default values and review them:
helm show values openshift-helm-charts/redhat-developer-hub > values.yaml -
Perform the required value changes mentioned in the section OpenShift Helm Catalog above in steps 2 and 3.
-
Install the chart:
helm upgrade -i <release_name> -f values.yaml openshift-helm-charts/redhat-developer-hub
Uninstalling the Chart
To uninstall/delete the <release_name> helm release manually, run:
helm uninstall <release_name>
Values
| Key | Description | Type | Default |
|---|---|---|---|
| affinity | Affinity rules for pod assignment. | object | {} |
| appConfig | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | object | Default config with base URLs, CORS, database connection, and backend auth. |
| argsOverride | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | list | [] |
| auth | Service-to-service authentication configuration. | object | {"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}} |
| auth.backend.enabled | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | bool | true |
| auth.backend.existingSecretRef | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | object | {"key":"backend-secret","name":""} |
| auth.backend.existingSecretRef.key | Key within the Secret that holds the backend auth token. | string | "backend-secret" |
| auth.backend.existingSecretRef.name | Name of the existing Secret. When empty, the chart generates one. | string | "" |
| auth.backend.value | Use a specific value instead of generating one. | string | "" |
| autoscaling | Horizontal Pod Autoscaler configuration. | object | {"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80} |
| catalogIndex | Catalog index configuration for automatic plugin discovery. | object | {"extraImages":[],"image":{"digest":"sha256:0e059aa661032f31bc36840b9a177bab13da33c4bc4683fe33bc05d4d05248ca","registry":"registry.access.redhat.com","repository":"rhdh/plugin-catalog-index","tag":""}} |
| catalogIndex.extraImages | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include registry, repository, and tag fields; name and digest are optional. Only catalog entities are extracted from extra images (no dynamic-plugins.default.yaml handling). | list | [] |
| commandOverride | Override the container command. | list | [] |
| commonAnnotations | Annotations applied to ALL chart resources. | object | {} |
| commonLabels | Labels applied to ALL chart resources. | object | {} |
| containerSecurityContext | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}} |
| deploymentAnnotations | Annotations for the Deployment resource (not the pod). | object | {} |
| dynamicPlugins | Dynamic plugin system configuration. | object | {"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}} |
| dynamicPlugins.includes | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (/opt/app-root/src). | list | ["dynamic-plugins.default.yaml"] |
| dynamicPlugins.initContainer | Configuration for the install-dynamic-plugins init container. | object | {"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}} |
| dynamicPlugins.initContainer.argsOverride | Override the default arguments. Leave empty to use the defaults. | list | [] |
| dynamicPlugins.initContainer.commandOverride | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | list | [] |
| dynamicPlugins.initContainer.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | [] |
| dynamicPlugins.initContainer.extraEnv | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | list | [] |
| dynamicPlugins.initContainer.extraVolumeMounts | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | list | [] |
| dynamicPlugins.initContainer.resources | Resource requests and limits. | object | {"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}} |
| dynamicPlugins.initContainer.securityContext | Security context for the init container. | object | Same as containerSecurityContext |
| dynamicPlugins.maxEntrySize | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | int | 40000000 |
| dynamicPlugins.plugins | List of dynamic plugins. Every item defines the plugin package as a NPM package spec or OCI reference. | list | [] |
| dynamicPlugins.volume | Volume configuration for the dynamic plugins root directory. | object | {"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"} |
| dynamicPlugins.volume.emptyDir | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | object | {} |
| dynamicPlugins.volume.ephemeral | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | object | {"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""} |
| dynamicPlugins.volume.ephemeral.accessModes | Access modes for the ephemeral PVC. | list | ["ReadWriteOnce"] |
| dynamicPlugins.volume.ephemeral.resources | Resource requests for the ephemeral PVC. | object | {"requests":{"storage":"5Gi"}} |
| dynamicPlugins.volume.ephemeral.storageClassName | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | string | "" |
| dynamicPlugins.volume.pvc | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | object | {"claimName":""} |
| dynamicPlugins.volume.statefulSetPVC | StatefulSet-owned PVC volume spec. Used when type is "statefulSetPVC". | object | {"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""} |
| dynamicPlugins.volume.statefulSetPVC.accessModes | Access modes for the StatefulSet-owned PVC. | list | ["ReadWriteOnce"] |
| dynamicPlugins.volume.statefulSetPVC.resources | Resource requests for the StatefulSet-owned PVC. | object | {"requests":{"storage":"5Gi"}} |
| dynamicPlugins.volume.statefulSetPVC.storageClassName | StorageClass. When empty, uses global.defaultStorageClass or the cluster default. | string | "" |
| dynamicPlugins.volume.type | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), "pvc" (pre-existing PersistentVolumeClaim), or "statefulSetPVC" (StatefulSet volumeClaimTemplate; requires workload.kind=StatefulSet). | string | "ephemeral" |
| envFromOverride | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | [] |
| envOverride | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | list | [] |
| externalDatabase | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | object | {"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"} |
| externalDatabase.existingSecretRef | Reference to an existing Secret containing the database password. | object | {"key":"password","name":""} |
| externalDatabase.existingSecretRef.key | Key within the Secret that holds the password. | string | "password" |
| externalDatabase.existingSecretRef.name | Name of the existing Secret. | string | "" |
| externalDatabase.host | External database hostname. | string | "" |
| externalDatabase.port | External database port. | int | 5432 |
| externalDatabase.user | External database user. | string | "postgres" |
| extraAppConfig | Additional app-config files from existing ConfigMaps. | list | [] |
| extraArgs | Extra arguments appended after the system config flags. | list | [] |
| extraContainers | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | list | [] |
| extraDeploy | Array of extra objects to deploy with the release (rendered through tpl). Each element is a complete Kubernetes manifest; Helm template expressions are supported. | list | [] |
| extraEnv | Extra environment variables appended after the system env vars. | list | [] |
| extraEnvFrom | Extra envFrom entries appended to the container. Accepts |
Deploy redhat-developer-hub with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redhat-developer-hub on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartredhat-developer-hub is pinned at v2.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply