Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/locales/en/plugin__netobserv-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"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",
"For other configurations, refer to FlowCollector spec.loki.manual.authToken": "For other configurations, refer to FlowCollector spec.loki.manual.authToken",
"For metrics access, your user must either:": "For metrics access, your user must either:",
"have the 'netobserv-metrics-reader' namespace-scoped role": "have the 'netobserv-metrics-reader' namespace-scoped role",
"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",
"or for cluster-wide access, have the 'cluster-monitoring-view' cluster role": "or for cluster-wide access, have the 'cluster-monitoring-view' cluster role",
"Configuring the Loki Operator": "Configuring the Loki Operator",
"Configuring Grafana Loki (community)": "Configuring Grafana Loki (community)",
Expand Down
6 changes: 5 additions & 1 deletion web/src/components/messages/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,11 @@ export const Error: React.FC<ErrorProps> = ({ title, error, isLokiRelated }) =>
<Text component={TextVariants.blockquote}>
{t(`For metrics access, your user must either:`)}
<TextList>
<TextListItem>{t(`have the 'netobserv-metrics-reader' namespace-scoped role`)}</TextListItem>
<TextListItem>
{t(
`have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console`
)}
</TextListItem>
<TextListItem>
{t(`or for cluster-wide access, have the 'cluster-monitoring-view' cluster role`)}
</TextListItem>
Expand Down