Skip to content

Commit de2e459

Browse files
committed
More info in error message: use developer view
1 parent 58a0ca2 commit de2e459

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

web/locales/en/plugin__netobserv-plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"or LokiStack spec.tenants.openshift.adminGroups must be configured with a group this user belongs to": "or LokiStack spec.tenants.openshift.adminGroups must be configured with a group this user belongs to",
193193
"For other configurations, refer to FlowCollector spec.loki.manual.authToken": "For other configurations, refer to FlowCollector spec.loki.manual.authToken",
194194
"For metrics access, your user must either:": "For metrics access, your user must either:",
195-
"have the 'netobserv-metrics-reader' namespace-scoped role": "have the 'netobserv-metrics-reader' namespace-scoped role",
195+
"have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console": "have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console",
196196
"or for cluster-wide access, have the 'cluster-monitoring-view' cluster role": "or for cluster-wide access, have the 'cluster-monitoring-view' cluster role",
197197
"Configuring the Loki Operator": "Configuring the Loki Operator",
198198
"Configuring Grafana Loki (community)": "Configuring Grafana Loki (community)",

web/src/components/messages/error.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,11 @@ export const Error: React.FC<ErrorProps> = ({ title, error, isLokiRelated }) =>
269269
<Text component={TextVariants.blockquote}>
270270
{t(`For metrics access, your user must either:`)}
271271
<TextList>
272-
<TextListItem>{t(`have the 'netobserv-metrics-reader' namespace-scoped role`)}</TextListItem>
272+
<TextListItem>
273+
{t(
274+
`have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console`
275+
)}
276+
</TextListItem>
273277
<TextListItem>
274278
{t(`or for cluster-wide access, have the 'cluster-monitoring-view' cluster role`)}
275279
</TextListItem>

0 commit comments

Comments
 (0)