Skip to content

Commit 8a95ef6

Browse files
elai-shalevrm3lgithub-actions[bot]
authored
fix: documentation bug for backstage chart readme, in orchestrator (#144)
* fix: documentation bug for backstage chart readme, in orchestrator * readme change - notification plugin * Added changes after review * Change to doc - notification plugin steps * using correct name for helm repo / install * Apply suggestions from code review * chore(pre-commit): Auto-fix hooks Co-authored-by: rm3l <rm3l@users.noreply.github.com> --------- Co-authored-by: Armel Soro <armel@rm3l.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: rm3l <rm3l@users.noreply.github.com>
1 parent e5ddcbc commit 8a95ef6

3 files changed

Lines changed: 66 additions & 30 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ sources: []
4747
# This is the chart version. This version number should be incremented each time you make changes
4848
# to the chart and its templates, including the app version.
4949
# Versions are expected to follow Semantic Versioning (https://semver.org/)
50-
version: 4.2.1
50+
version: 4.2.2

charts/backstage/README.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# RHDH Backstage Helm Chart for OpenShift (Community Version)
33

4-
![Version: 4.2.1](https://img.shields.io/badge/Version-4.2.1-informational?style=flat-square)
4+
![Version: 4.2.2](https://img.shields.io/badge/Version-4.2.2-informational?style=flat-square)
55
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
66

77
A Helm chart for deploying Red Hat Developer Hub.
@@ -322,23 +322,37 @@ upstream:
322322
enabled: true
323323
```
324324

325-
## Installing RHDH with Orchestrator
325+
## Installing RHDH with Orchestrator on OpenShift
326326

327-
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.
328-
Orchestrator is a flavor of RHDH, and can be installed alongside the RHDH in the same namespace and in the folloing way:
327+
Orchestrator brings serverless workflows into Backstage, focusing on the journey for application migration to the cloud, onboarding developers, and user-made workflows of Backstage actions or external systems.
328+
Orchestrator is a flavor of RHDH, and can be installed alongside RHDH in the same namespace and in the following way:
329329

330-
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
330+
1. Have an admin install the [orchestrator-infra Helm Chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/orchestrator-infra#readme), which will install the prerequisites required to deploy the Orchestrator-flavored RHDH. This process will include installing cluster-wide resources, so should be done with admin privileges:
331331
```
332-
helm install <release_name> charts/orchestrator-infra
332+
helm repo add bitnami https://charts.bitnami.com/bitnami
333+
helm repo add backstage https://backstage.github.io/charts
334+
helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart
335+
336+
helm install <release_name> redhat-developer/redhat-developer-hub-orchestrator-infra
337+
```
338+
2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed. To do so, follow the post-install notes given by the chart, or see them [here](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/orchestrator-infra/templates/NOTES.txt)
339+
3. Install the `backstage` chart with Helm, enabling orchestrator, serverlessLogicOperator, and serverlessOperator, like so:
340+
341+
```
342+
helm install <release_name> redhat-developer/backstage \
343+
--set orchestrator.enabled=true \
344+
--set orchestrator.serverlessLogicOperator.enabled=true \
345+
--set orchestrator.serverlessOperator.enabled=true
333346
```
334-
2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed.
335-
3. Install backstage chart with helm, setting orchestrator to be enabled.
336-
4. Enable serverlessLogicOperator and serverlessOperator in the backstage values.
337347
338348
### Enablement of Notifications Plugin
339349
340-
To enable the notifications and signals plugin, please edit the dynamic plugin configmap after the installation and add the following:
341-
```
350+
Workflows running with Orchestrator may use the Notifications plugin.
351+
For this, you must enable the Notifications and Signals plugins.
352+
To do so, you would need to edit the [default Helm values.yaml](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/backstage/values.yaml) file, and add the plugins listed below to the global.dynamic.plugins list.
353+
Do this before installing the Helm Chart, or upgrade the Helm release with the new values file.
354+
355+
```yaml
342356
- disabled: false
343357
package: "./dynamic-plugins/dist/backstage-plugin-notifications"
344358
- disabled: false
@@ -358,10 +372,14 @@ and populate the following values in the values.yaml:
358372
externalDBsecretRef: <cred-secret>
359373
externalDBName: ""
360374
```
361-
Please note that externalDBName is the name of the user-configured existing database, not the database that orchestrator and sonataflow resources will use.
375+
Please note that `externalDBName` is the name of the user-configured existing database, not the database that the orchestrator and sonataflow resources will use.
362376

363-
Finally, install the helm chart:
377+
Finally, install the Helm Chart (including [setting up the external DB](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md)):
364378
```
365-
helm install <release_name> charts/backstage --set orchestrator.enabled=true --set orchestrator.serverlessLogicOperator.enabled=true --set orchestrator.serverlessOperator.enabled=true \
366-
--set externalDBsecretRef=<cred-secret> --set externalDBName=example
379+
helm install <release_name> redhat-developer/backstage \
380+
--set orchestrator.enabled=true \
381+
--set orchestrator.serverlessLogicOperator.enabled=true \
382+
--set orchestrator.serverlessOperator.enabled=true \
383+
--set orchestrator.sonataflowPlatform.externalDBsecretRef=<cred-secret> \
384+
--set orchestrator.sonataflowPlatform.externalDBName=example
367385
```

charts/backstage/README.md.gotmpl

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -262,23 +262,37 @@ upstream:
262262
enabled: true
263263
```
264264

265-
## Installing RHDH with Orchestrator
265+
## Installing RHDH with Orchestrator on OpenShift
266266

267-
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.
268-
Orchestrator is a flavor of RHDH, and can be installed alongside the RHDH in the same namespace and in the folloing way:
267+
Orchestrator brings serverless workflows into Backstage, focusing on the journey for application migration to the cloud, onboarding developers, and user-made workflows of Backstage actions or external systems.
268+
Orchestrator is a flavor of RHDH, and can be installed alongside RHDH in the same namespace and in the following way:
269269

270-
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
270+
1. Have an admin install the [orchestrator-infra Helm Chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/orchestrator-infra#readme), which will install the prerequisites required to deploy the Orchestrator-flavored RHDH. This process will include installing cluster-wide resources, so should be done with admin privileges:
271271
```
272-
helm install <release_name> charts/orchestrator-infra
272+
helm repo add bitnami https://charts.bitnami.com/bitnami
273+
helm repo add backstage https://backstage.github.io/charts
274+
helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart
275+
276+
helm install <release_name> redhat-developer/redhat-developer-hub-orchestrator-infra
277+
```
278+
2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed. To do so, follow the post-install notes given by the chart, or see them [here](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/orchestrator-infra/templates/NOTES.txt)
279+
3. Install the `backstage` chart with Helm, enabling orchestrator, serverlessLogicOperator, and serverlessOperator, like so:
280+
281+
```
282+
helm install <release_name> redhat-developer/backstage \
283+
--set orchestrator.enabled=true \
284+
--set orchestrator.serverlessLogicOperator.enabled=true \
285+
--set orchestrator.serverlessOperator.enabled=true
273286
```
274-
2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed.
275-
3. Install backstage chart with helm, setting orchestrator to be enabled.
276-
4. Enable serverlessLogicOperator and serverlessOperator in the backstage values.
277287

278288
### Enablement of Notifications Plugin
279289

280-
To enable the notifications and signals plugin, please edit the dynamic plugin configmap after the installation and add the following:
281-
```
290+
Workflows running with Orchestrator may use the Notifications plugin.
291+
For this, you must enable the Notifications and Signals plugins.
292+
To do so, you would need to edit the [default Helm values.yaml](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/backstage/values.yaml) file, and add the plugins listed below to the global.dynamic.plugins list.
293+
Do this before installing the Helm Chart, or upgrade the Helm release with the new values file.
294+
295+
```yaml
282296
- disabled: false
283297
package: "./dynamic-plugins/dist/backstage-plugin-notifications"
284298
- disabled: false
@@ -298,10 +312,14 @@ and populate the following values in the values.yaml:
298312
externalDBsecretRef: <cred-secret>
299313
externalDBName: ""
300314
```
301-
Please note that externalDBName is the name of the user-configured existing database, not the database that orchestrator and sonataflow resources will use.
315+
Please note that `externalDBName` is the name of the user-configured existing database, not the database that the orchestrator and sonataflow resources will use.
302316

303-
Finally, install the helm chart:
317+
Finally, install the Helm Chart (including [setting up the external DB](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md)):
304318
```
305-
helm install <release_name> charts/backstage --set orchestrator.enabled=true --set orchestrator.serverlessLogicOperator.enabled=true --set orchestrator.serverlessOperator.enabled=true \
306-
--set externalDBsecretRef=<cred-secret> --set externalDBName=example
319+
helm install <release_name> redhat-developer/backstage \
320+
--set orchestrator.enabled=true \
321+
--set orchestrator.serverlessLogicOperator.enabled=true \
322+
--set orchestrator.serverlessOperator.enabled=true \
323+
--set orchestrator.sonataflowPlatform.externalDBsecretRef=<cred-secret> \
324+
--set orchestrator.sonataflowPlatform.externalDBName=example
307325
```

0 commit comments

Comments
 (0)