Skip to content

Commit c692cfd

Browse files
authored
RHDHPAI-720: Adding more info to the app-config-dynamic.yaml file in the install section (redhat-developer#1025)
* Added a callout * Minor changes * Minor change on RBAC * Lindsey's comments
1 parent ee95a13 commit c692cfd

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

modules/observe/adoption-insights/proc-install-adoption-insights.adoc

+16-7
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ For the {product} Adoption Insights plugin, you must manually install the plugin
1010

1111
.Procedure
1212

13-
* To enable the Adoption Insights plugin, set the `disabled` property to `false` in your `app-config-dynamic.yaml` file as shown in the following example:
13+
To enable the Adoption Insights plugin, complete the following steps:
14+
15+
. Set the `disabled` property to `false` in your `app-config-dynamic.yaml` file as shown in the following example:
1416
+
1517
[source,yaml]
1618
----
17-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-adoption-insights
19+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-adoption-insights:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-adoption-insights
1820
disabled: false
1921
pluginConfig:
2022
dynamicPlugins:
@@ -33,16 +35,23 @@ For the {product} Adoption Insights plugin, you must manually install the plugin
3335
adoption-insights:
3436
parent: admin
3537
icon: adoptionInsightsIcon
36-
37-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-adoption-insights-backend-dynamic
38+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-adoption-insights-backend:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-adoption-insights-backend-dynamic
3839
disabled: false
39-
40-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights
40+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights
4141
disabled: false
4242
pluginConfig:
4343
dynamicPlugins:
4444
frontend:
4545
red-hat-developer-hub.backstage-plugin-analytics-module-adoption-insights:
4646
apiFactories:
4747
- importName: AdoptionInsightsAnalyticsApiFactory
48-
----
48+
----
49+
50+
. Configure the required RBAC permission for the users who are not administrators as shown in the following example:
51+
+
52+
[source,yaml]
53+
----
54+
p, role:default/team_a, adoption-insights.events.read, read, allow
55+
g, user:default/_<your_user>_, role:default/team_a
56+
----
57+
See link:{authorization-book-url}#ref-rbac-permission-policies_title-authorization[Permission policies in {product}].

0 commit comments

Comments
 (0)