Skip to content

Commit 5edb82d

Browse files
authored
chore(lightspeed): use inherit for pluginConfig (#396)
* chore(lightspeed): use inherit for pluginConfig Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * chart version bump to 5.12.1 Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> --------- Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent 6b19f37 commit 5edb82d

4 files changed

Lines changed: 7 additions & 123 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
# Versions are expected to follow Semantic Versioning (https://semver.org/)
4848
# Note that when this chart is published to https://github.com/openshift-helm-charts/charts
4949
# it will follow the RHDH versioning 1.y.z
50-
version: 5.12.0
50+
version: 5.12.1

charts/backstage/README.md

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

22
# RHDH Backstage Helm Chart for OpenShift
33

4-
![Version: 5.12.0](https://img.shields.io/badge/Version-5.12.0-informational?style=flat-square)
4+
![Version: 5.12.1](https://img.shields.io/badge/Version-5.12.1-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, which is a Red Hat supported version of Backstage.
@@ -29,7 +29,7 @@ For the **Generally Available** version of this chart, see:
2929
helm repo add bitnami https://charts.bitnami.com/bitnami
3030
helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart
3131

32-
helm install my-backstage redhat-developer/backstage --version 5.12.0
32+
helm install my-backstage redhat-developer/backstage --version 5.12.1
3333
```
3434

3535
## Introduction
@@ -188,7 +188,7 @@ Kubernetes: `>= 1.27.0-0`
188188
| global.lightspeed.enabled | Enable or disable the built-in Lightspeed feature. | bool | `true` |
189189
| global.lightspeed.initContainer.image | Full image reference for the Lightspeed RAG bootstrap init container. Override for disconnected environments. | string | `"quay.io/redhat-ai-dev/rag-content:release-1.9-lls-0.5.0-642c567fe10a62b5ff711654306b72912f341e05"` |
190190
| global.lightspeed.initContainer.resources | Resource requests/limits for the Lightspeed RAG bootstrap init container. | object | `{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}}` |
191-
| global.lightspeed.plugins | Lightspeed plugins and their configuration. Override package references for disconnected environments. | list | `[{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}","pluginConfig":{"dynamicPlugins":{"frontend":{"red-hat-developer-hub.backstage-plugin-lightspeed":{"dynamicRoutes":[{"importName":"LightspeedPage","path":"/lightspeed"}],"mountPoints":[{"importName":"LightspeedFAB","mountPoint":"application/listener"},{"importName":"LightspeedDrawerProvider","mountPoint":"application/provider"},{"config":{"id":"lightspeed"},"importName":"LightspeedDrawerStateExposer","mountPoint":"application/internal/drawer-state"},{"config":{"id":"lightspeed","priority":100},"importName":"LightspeedChatContainer","mountPoint":"application/internal/drawer-content"}],"translationResources":[{"importName":"lightspeedTranslations","module":"Alpha","ref":"lightspeedTranslationRef"}]}}}}},{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:{{ \"{{inherit}}\" }}"}]` |
191+
| global.lightspeed.plugins | Lightspeed plugins and their configuration. Override package references for disconnected environments. | list | `[{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}"},{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:{{ \"{{inherit}}\" }}"}]` |
192192
| global.lightspeed.ragVolume.emptyDir | `emptyDir` configuration for the RAG data volume. | object | `{}` |
193193
| global.lightspeed.ragVolume.initMountPath | Mount path inside the init container for seeding RAG data. | string | `"/rag-content"` |
194194
| global.lightspeed.ragVolume.mountPath | Mount path inside the sidecar container for serving RAG data. | string | `"/rag-content"` |

charts/backstage/values.schema.json

Lines changed: 2 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -222,53 +222,7 @@
222222
"plugins": [
223223
{
224224
"disabled": false,
225-
"package": "oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}",
226-
"pluginConfig": {
227-
"dynamicPlugins": {
228-
"frontend": {
229-
"red-hat-developer-hub.backstage-plugin-lightspeed": {
230-
"dynamicRoutes": [
231-
{
232-
"importName": "LightspeedPage",
233-
"path": "/lightspeed"
234-
}
235-
],
236-
"mountPoints": [
237-
{
238-
"importName": "LightspeedFAB",
239-
"mountPoint": "application/listener"
240-
},
241-
{
242-
"importName": "LightspeedDrawerProvider",
243-
"mountPoint": "application/provider"
244-
},
245-
{
246-
"config": {
247-
"id": "lightspeed"
248-
},
249-
"importName": "LightspeedDrawerStateExposer",
250-
"mountPoint": "application/internal/drawer-state"
251-
},
252-
{
253-
"config": {
254-
"id": "lightspeed",
255-
"priority": 100
256-
},
257-
"importName": "LightspeedChatContainer",
258-
"mountPoint": "application/internal/drawer-content"
259-
}
260-
],
261-
"translationResources": [
262-
{
263-
"importName": "lightspeedTranslations",
264-
"module": "Alpha",
265-
"ref": "lightspeedTranslationRef"
266-
}
267-
]
268-
}
269-
}
270-
}
271-
}
225+
"package": "oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}"
272226
},
273227
{
274228
"disabled": false,
@@ -338,53 +292,7 @@
338292
"default": [
339293
{
340294
"disabled": false,
341-
"package": "oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}",
342-
"pluginConfig": {
343-
"dynamicPlugins": {
344-
"frontend": {
345-
"red-hat-developer-hub.backstage-plugin-lightspeed": {
346-
"dynamicRoutes": [
347-
{
348-
"importName": "LightspeedPage",
349-
"path": "/lightspeed"
350-
}
351-
],
352-
"mountPoints": [
353-
{
354-
"importName": "LightspeedFAB",
355-
"mountPoint": "application/listener"
356-
},
357-
{
358-
"importName": "LightspeedDrawerProvider",
359-
"mountPoint": "application/provider"
360-
},
361-
{
362-
"config": {
363-
"id": "lightspeed"
364-
},
365-
"importName": "LightspeedDrawerStateExposer",
366-
"mountPoint": "application/internal/drawer-state"
367-
},
368-
{
369-
"config": {
370-
"id": "lightspeed",
371-
"priority": 100
372-
},
373-
"importName": "LightspeedChatContainer",
374-
"mountPoint": "application/internal/drawer-content"
375-
}
376-
],
377-
"translationResources": [
378-
{
379-
"importName": "lightspeedTranslations",
380-
"module": "Alpha",
381-
"ref": "lightspeedTranslationRef"
382-
}
383-
]
384-
}
385-
}
386-
}
387-
}
295+
"package": "oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}"
388296
},
389297
{
390298
"disabled": false,

charts/backstage/values.yaml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,7 @@ global:
5656
plugins:
5757
- package: 'oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ "{{inherit}}" }}'
5858
disabled: false
59-
pluginConfig:
60-
dynamicPlugins:
61-
frontend:
62-
red-hat-developer-hub.backstage-plugin-lightspeed:
63-
translationResources:
64-
- importName: lightspeedTranslations
65-
module: Alpha
66-
ref: lightspeedTranslationRef
67-
dynamicRoutes:
68-
- path: /lightspeed
69-
importName: LightspeedPage
70-
mountPoints:
71-
- mountPoint: application/listener
72-
importName: LightspeedFAB
73-
- mountPoint: application/provider
74-
importName: LightspeedDrawerProvider
75-
- mountPoint: application/internal/drawer-state
76-
importName: LightspeedDrawerStateExposer
77-
config:
78-
id: lightspeed
79-
- mountPoint: application/internal/drawer-content
80-
importName: LightspeedChatContainer
81-
config:
82-
id: lightspeed
83-
priority: 100
59+
8460
- package: 'oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:{{ "{{inherit}}" }}'
8561
disabled: false
8662
runtimeVolume:

0 commit comments

Comments
 (0)