Skip to content

Commit 0ef375e

Browse files
authored
chore: add MAX_ENTRY_SIZE var to values + doc change (#143)
1 parent 7f0c9da commit 0ef375e

5 files changed

Lines changed: 43 additions & 2 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ sources:
4444
# This is the chart version. This version number should be incremented each time you make changes
4545
# to the chart and its templates, including the app version.
4646
# Versions are expected to follow Semantic Versioning (https://semver.org/)
47-
version: 4.0.0
47+
version: 4.0.1

charts/backstage/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RHDH Backstage Helm Chart for OpenShift (Community Version)
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rhdh-chart&style=flat-square)](https://artifacthub.io/packages/search?repo=rhdh-chart)
5-
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square)
5+
![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying Red Hat Developer Hub.
@@ -348,6 +348,23 @@ helm install <release_name> charts/orchestrator-infra
348348
3. Install backstage chart with helm, setting orchestrator to be enabled.
349349
4. Enable serverlessLogicOperator and serverlessOperator in the backstage values.
350350
351+
### Enablement of Notifications Plugin
352+
353+
To enable the notifications and signals plugin, please edit the dynamic plugin configmap after the installation and add the following:
354+
```
355+
- disabled: false
356+
package: "./dynamic-plugins/dist/backstage-plugin-notifications"
357+
- disabled: false
358+
package: "./dynamic-plugins/dist/backstage-plugin-signals"
359+
- disabled: false
360+
package: "./dynamic-plugins/dist/backstage-plugin-notifications-backend-dynamic"
361+
- disabled: false
362+
package: "./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic"
363+
```
364+
Enabling these plugins will allow you to recieve notifications from workflows running with Orchestrator.
365+
366+
### Using Orchestrator while configuring an ExternalDB
367+
351368
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)
352369
and populate the following values in the values.yaml:
353370
```bash

charts/backstage/README.md.gotmpl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,23 @@ helm install <release_name> charts/orchestrator-infra
283283
3. Install backstage chart with helm, setting orchestrator to be enabled.
284284
4. Enable serverlessLogicOperator and serverlessOperator in the backstage values.
285285

286+
### Enablement of Notifications Plugin
287+
288+
To enable the notifications and signals plugin, please edit the dynamic plugin configmap after the installation and add the following:
289+
```
290+
- disabled: false
291+
package: "./dynamic-plugins/dist/backstage-plugin-notifications"
292+
- disabled: false
293+
package: "./dynamic-plugins/dist/backstage-plugin-signals"
294+
- disabled: false
295+
package: "./dynamic-plugins/dist/backstage-plugin-notifications-backend-dynamic"
296+
- disabled: false
297+
package: "./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic"
298+
```
299+
Enabling these plugins will allow you to recieve notifications from workflows running with Orchestrator.
300+
301+
### Using Orchestrator while configuring an ExternalDB
302+
286303
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)
287304
and populate the following values in the values.yaml:
288305
```bash

charts/backstage/values.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4493,6 +4493,10 @@
44934493
{
44944494
"name": "NPM_CONFIG_USERCONFIG",
44954495
"value": "/opt/app-root/src/.npmrc.dynamic-plugins"
4496+
},
4497+
{
4498+
"name": "MAX_ENTRY_SIZE",
4499+
"value": "30000000"
44964500
}
44974501
],
44984502
"image": "{{ include \"backstage.image\" . }}",

charts/backstage/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ upstream:
208208
env:
209209
- name: NPM_CONFIG_USERCONFIG
210210
value: /opt/app-root/src/.npmrc.dynamic-plugins
211+
# This following variable is required for orchestrator to startup properly.
212+
- name: MAX_ENTRY_SIZE
213+
value: "30000000"
211214
imagePullPolicy: Always
212215
volumeMounts:
213216
- mountPath: /dynamic-plugins-root

0 commit comments

Comments
 (0)