-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathdynamic-plugins.override.example.yaml
More file actions
118 lines (108 loc) · 5.33 KB
/
dynamic-plugins.override.example.yaml
File metadata and controls
118 lines (108 loc) · 5.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Example dynamic plugin override config.
# Copy to dynamic-plugins.override.yaml to activate local plugins.
includes:
- dynamic-plugins.default.yaml
# Uncomment the following line (and the corresponding 'red-hat-developer-hub-backstage-plugin-extensions*' plugins)
# to enable dynamic plugins installation using the Extensions UI.
# - /dynamic-plugins-root/dynamic-plugins.extensions.yaml
# # Below you can add custom dynamic plugins, including local ones.
# # EXAMPLES:
# plugins:
# Functioning example using Tech Radar, uncomment to use
#Tech Radar frontend plugin
# - package: ./dynamic-plugins/dist/backstage-community-plugin-tech-radar
# disabled: false
# Tech Radar backend plugin. Required if you want to customize the tech radar URL
# (see the `techRadar.url` app-config property).
# - package: ./dynamic-plugins/dist/backstage-community-plugin-tech-radar-backend-dynamic
# disabled: false
# # loading plugin from host directory
# - package: ./local-plugins/todo
# disabled: false
# pluginConfig:
# dynamicPlugins:
# frontend:
# backstage-community.plugin-todo:
# mountPoints:
# - mountPoint: entity.page.todo/cards
# importName: EntityTodoContent
# entityTabs:
# - path: /todo
# title: Todo
# mountPoint: entity.page.todo
# # loading image from container image
# - package: oci://docker.io/tomaskral/simple-chat:v0.0.1!internal-backstage-plugin-simple-chat
# disabled: false
# pluginConfig:
# dynamicPlugins:
# frontend:
# internal.backstage-plugin-simple-chat:
# appIcons:
# - name: chatIcon
# importName: ChatIcon
# dynamicRoutes:
# - path: /simple-chat
# importName: SimpleChatPage
# menuItem:
# text: 'Simple Chat'
# icon: chatIcon
# # loading image from tarball URL
# - disabled: false
# package: >-
# https://github.com/redhat-developer/rhdh-plugin-export-backstage-community-plugins/releases/download/v1.2.0/backstage-community-plugin-tech-insights-dynamic-0.3.28.tgz
# integrity: sha512-cNHXSwPa5fOi2BcNVSe7tfdLyM0JY988CE5t+P9p/XlboP1QpQbMcLBmqPrlXZdpedAyp81Zz3yPQYGnPuy9ww==
# pluginConfig:
# dynamicPlugins:
# techInsights:
# factRetrievers:
# entityOwnershipFactRetriever:
# cadence: '*/15 * * * *'
# lifecycle: { timeToLive: { weeks: 2 } }
# entityMetadataFactRetriever:
# cadence: '*/15 * * * *'
# lifecycle: { timeToLive: { weeks: 2 } }
# techdocsFactRetriever:
# cadence: '*/15 * * * *'
# lifecycle: { timeToLive: { weeks: 2 } }
# apiDefinitionFactRetriever:
# cadence: '*/15 * * * *'
# lifecycle: { timeToLive: { weeks: 2 } }
# # loading plugin from directory inside the RHDH container
# - package: ./dynamic-plugins/dist/backstage-community-plugin-rbac
# disabled: true
# pluginConfig:
# dynamicPlugins:
# frontend:
# backstage-community.plugin-rbac:
# mountPoints:
# - mountPoint: admin.page.rbac/cards
# module: RbacPlugin
# importName: RbacPage
# config:
# layout:
# gridColumn: "1 / -1"
# width: 100vw
# props:
# useHeader: false
# dynamicRoutes:
# - path: /admin/rbac
# module: RbacPlugin
# importName: RbacPage
# # Uncomment the following two plugins to enable dynamic plugins installation via the Extensions UI
# # TODO: Replace the `./dynamic-plugins/dist/` path with the OCI reference once we switch to that in the dynamic-plugins.default.yaml (DPDY) file in the catalog index image - see https://issues.redhat.com/browse/RHDHPLAN-934 and https://issues.redhat.com/browse/RHDHPLAN-256
# # - package: 'oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-extensions:{{inherit}}'
# - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-extensions
# disabled: false
# # TODO: Replace the `./dynamic-plugins/dist/` path with the OCI reference once we switch to that in the dynamic-plugins.default.yaml (DPDY) file in the catalog index image - see https://issues.redhat.com/browse/RHDHPLAN-934 and https://issues.redhat.com/browse/RHDHPLAN-256
# # - package: 'oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-extensions-backend:{{inherit}}'
# - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-extensions-backend-dynamic
# disabled: false
# pluginConfig:
# extensions:
# installation:
# enabled: true
# saveToSingleFile:
# # NOTE: Default path. If you want to change this path, make sure to choose a path that is writable by the main RHDH container user.
# # Otherwise, the extensions backend plugin will not be able to save the dynamic plugins configuration.
# # Also add the path in the 'includes' section of this file, so the plugins installed via the Extensions UI can be loaded at runtime.
# file: /opt/app-root/src/dynamic-plugins-root/dynamic-plugins.extensions.yaml