Skip to content

Commit fb30917

Browse files
committed
docs(cost-management): update dynamic plugin config with full route bindings
Add missing OpenShift route, menu hierarchy, and explain why the proxy.endpoints config was removed (replaced by server-side secure proxy). Made-with: Cursor
1 parent 0321e9f commit fb30917

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

workspaces/cost-management/docs/dynamic-plugin.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The procedure involves the following steps:
3838
pluginConfig:
3939
dynamicPlugins:
4040
frontend:
41-
backstage-community.plugin-cost-management:
41+
red-hat-developer-hub.plugin-cost-management:
4242
appIcons:
4343
- name: costManagementIconOutlined
4444
importName: CostManagementIconOutlined
@@ -48,6 +48,22 @@ The procedure involves the following steps:
4848
menuItem:
4949
icon: costManagementIconOutlined
5050
text: Optimizations
51+
- path: /cost-management/openshift
52+
importName: OpenShiftPage
53+
menuItem:
54+
icon: costManagementIconOutlined
55+
text: OpenShift
56+
menuItems:
57+
cost-management/optimizations:
58+
parent: cost-management
59+
priority: 10
60+
cost-management/openshift:
61+
parent: cost-management
62+
priority: 20
63+
cost-management:
64+
icon: costManagementIconOutlined
65+
title: Cost management
66+
priority: 100
5167
- package: oci://quay.io/redhat-resource-optimization/dynamic-plugins:latest!red-hat-developer-hub-plugin-cost-management-backend
5268
disabled: false
5369
pluginConfig:
@@ -57,7 +73,10 @@ The procedure involves the following steps:
5773
optimizationWorkflowId: 'patch-k8s-resource'
5874
```
5975
60-
> **Note:** No `proxy` configuration is required. The backend plugin communicates
61-
> with the Red Hat Cost Management API server-side. SSO tokens are obtained
62-
> internally via OAuth2 `client_credentials` grant and never exposed to the
63-
> browser. RBAC filtering is enforced server-side before data is returned.
76+
> **Note:** No `proxy` configuration is required. Previous versions required a
77+
> `proxy.endpoints['/cost-management/v1']` entry that forwarded requests to
78+
> `console.redhat.com` — this has been removed. The backend plugin now
79+
> communicates with the Red Hat Cost Management API server-side via a secure
80+
> proxy. SSO tokens are obtained internally via OAuth2 `client_credentials`
81+
> grant and never exposed to the browser. RBAC filtering is enforced
82+
> server-side before data is returned. See [rbac.md](./rbac.md) for details.

0 commit comments

Comments
 (0)