Skip to content

Commit

Permalink
feat(rbac): add rbac dynamic plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Cai <[email protected]>
  • Loading branch information
ciiay committed Jan 30, 2024
1 parent afc24f3 commit 31142ff
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app-config.dynamic-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,18 @@ dynamicPlugins:
anyOf:
- hasAnnotation: backstage.io/kubernetes-id
- hasAnnotation: backstage.io/kubernetes-namespace
janus-idp.backstage-plugin-rbac:
appIcons:
- name: AdminPanelSettingsOutlinedIcon
module: RbacPlugin
importName: AdminPanelSettingsOutlinedIcon
dynamicRoutes:
- path: /rbac
importName: RbacPage
module: RbacPlugin
menuItem:
icon: AdminPanelSettingsOutlinedIcon
text: Administration
roadiehq.backstage-plugin-argo-cd:
mountPoints:
- mountPoint: entity.page.overview/cards
Expand Down
18 changes: 18 additions & 0 deletions dynamic-plugins.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,24 @@ plugins:

- package: ./dynamic-plugins/dist/janus-idp-backstage-scaffolder-backend-module-regex-dynamic

- package: ./dynamic-plugins/dist/janus-idp-plugin-rbac
disabled: true
pluginConfig:
dynamicPlugins:
frontend:
janus-idp.backstage-plugin-rbac:
appIcons:
- name: AdminPanelSettingsOutlinedIcon
module: RbacPlugin
importName: AdminPanelSettingsOutlinedIcon
dynamicRoutes:
- path: /rbac
importName: RbacPage
module: RbacPlugin
menuItem:
icon: AdminPanelSettingsOutlinedIcon
text: Administration

- package: ./dynamic-plugins/dist/janus-idp-backstage-scaffolder-backend-module-servicenow-dynamic
disabled: true
pluginConfig:
Expand Down
1 change: 1 addition & 0 deletions dynamic-plugins/imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@janus-idp/backstage-plugin-ocm": "3.6.0",
"@janus-idp/backstage-plugin-ocm-backend": "3.4.11",
"@janus-idp/backstage-plugin-quay": "1.5.0",
"@janus-idp/backstage-plugin-rbac": "1.11.1",
"@janus-idp/backstage-plugin-tekton": "3.4.1",
"@janus-idp/backstage-plugin-topology": "1.17.3",
"@janus-idp/backstage-scaffolder-backend-module-quay": "1.2.6",
Expand Down

0 comments on commit 31142ff

Please sign in to comment.