|
2 | 2 | # RHDH Backstage Helm Chart for OpenShift (Community Version) |
3 | 3 |
|
4 | 4 | [](https://artifacthub.io/packages/search?repo=rhdh-chart) |
5 | | - |
| 5 | + |
6 | 6 |  |
7 | 7 |
|
8 | 8 | A Helm chart for deploying Red Hat Developer Hub. |
@@ -191,6 +191,20 @@ Kubernetes: `>= 1.25.0-0` |
191 | 191 | | global.dynamic.includes[0] | List of dynamic plugins included inside the `janus-idp/backstage-showcase` container image, some of which are disabled by default. This file ONLY works with the `janus-idp/backstage-showcase` container image. | string | `"dynamic-plugins.default.yaml"` | |
192 | 192 | | global.dynamic.plugins | List of dynamic plugins, possibly overriding the plugins listed in `includes` files. Every item defines the plugin `package` as a [NPM package spec](https://docs.npmjs.com/cli/v10/using-npm/package-spec), an optional `pluginConfig` with plugin-specific backstage configuration, and an optional `disabled` flag to disable/enable a plugin listed in `includes` files. It also includes an `integrity` field that is used to verify the plugin package [integrity](https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description). | list | `[]` | |
193 | 193 | | global.host | Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`. | string | `""` | |
| 194 | +| orchestrator.enabled | | bool | `false` | |
| 195 | +| orchestrator.serverlessLogicOperator.enabled | | bool | `false` | |
| 196 | +| orchestrator.serverlessOperator.enabled | | bool | `false` | |
| 197 | +| orchestrator.sonataflowPlatform.createDBJobImage | Image for the container used by the create-db job | string | `"postgres:15"` | |
| 198 | +| orchestrator.sonataflowPlatform.eventing.broker.name | | string | `""` | |
| 199 | +| orchestrator.sonataflowPlatform.eventing.broker.namespace | | string | `""` | |
| 200 | +| orchestrator.sonataflowPlatform.externalDBName | Name for the user-configured external Database | string | `""` | |
| 201 | +| orchestrator.sonataflowPlatform.externalDBsecretRef | Secret name for the user-created secret to connect an external DB | string | `""` | |
| 202 | +| orchestrator.sonataflowPlatform.initContainerImage | Image for the init container used by the create-db job | string | `"busybox"` | |
| 203 | +| orchestrator.sonataflowPlatform.monitoring.enabled | | bool | `true` | |
| 204 | +| orchestrator.sonataflowPlatform.resources.limits.cpu | | string | `"500m"` | |
| 205 | +| orchestrator.sonataflowPlatform.resources.limits.memory | | string | `"1Gi"` | |
| 206 | +| orchestrator.sonataflowPlatform.resources.requests.cpu | | string | `"250m"` | |
| 207 | +| orchestrator.sonataflowPlatform.resources.requests.memory | | string | `"64Mi"` | |
194 | 208 | | route | OpenShift Route parameters | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.global.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | |
195 | 209 | | route.annotations | Route specific annotations | object | `{}` | |
196 | 210 | | route.enabled | Enable the creation of the route resource | bool | `true` | |
@@ -320,3 +334,30 @@ upstream: |
320 | 334 | volumePermissions: |
321 | 335 | enabled: true |
322 | 336 | ``` |
| 337 | + |
| 338 | +## Installing RHDH with Orchestrator |
| 339 | + |
| 340 | +Orchestrator brings serverless workflows into Backstage, focusing on the journey for application migration to the cloud, on boarding developers ,and user-made workflows of Backstage actions or external systems. |
| 341 | +Orchestrator is a flavor of RHDH, and can be installed alongside the RHDH in the same namespace and in the folloing way: |
| 342 | + |
| 343 | +1. Have an admin install the orchestrator-infra helm chart, which will install the pre-requisites required to install RHDH flavored Orchestrator. This proccess will include installing cluster-wide resources, so should be done with admin privileges |
| 344 | +``` |
| 345 | +helm install <release_name> charts/orchestrator-infra |
| 346 | +``` |
| 347 | +2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed. |
| 348 | +3. Install backstage chart with helm, setting orchestrator to be enabled. |
| 349 | +4. Enable serverlessLogicOperator and serverlessOperator in the backstage values. |
| 350 | +
|
| 351 | +To use orchestrator with an external DB, please follow the instructions in [our documentation](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md) |
| 352 | +and populate the following values in the values.yaml: |
| 353 | +```bash |
| 354 | + externalDBsecretRef: <cred-secret> |
| 355 | + externalDBName: "" |
| 356 | +``` |
| 357 | +Please note that externalDBName is the name of the user-configured existing database, not the database that orchestrator and sonataflow resources will use. |
| 358 | + |
| 359 | +Finally, install the helm chart: |
| 360 | +``` |
| 361 | +helm install <release_name> charts/backstage --set orchestrator.enabled=true --set orchestrator.serverlessLogicOperator.enabled=true --set orchestrator.serverlessOperator.enabled=true \ |
| 362 | +--set externalDBsecretRef=<cred-secret> --set externalDBName=example |
| 363 | +``` |
0 commit comments