Skip to content
Open
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
4 changes: 2 additions & 2 deletions hack/docker-compose/loki/promtail-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ scrape_configs:
k8s_namespace_name: kube-public
log_type: application
__path__: /var/log/*log
kubernetes_pod_name: alertmanager-main-0
kubernetes_container_name: test-container
kubernetes_pod_name: kube-public-0
kubernetes_container_name: test-container-kube
4 changes: 4 additions & 0 deletions web/cypress/e2e/integration/logs-dev-page.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ describe('Logs Dev Page', () => {
statusCode: 403,
body: 'You are not authorized to list pods in this namespace',
}).as('resourceQuery');
cy.intercept('/api/kubernetes/api/v1/namespaces/my-namespace/pods', {
statusCode: 403,
body: 'You are not authorized to list pods in this namespace',
}).as('k8sPodsQuery');

cy.visit(LOGS_DEV_PAGE_URL);

Expand Down
14 changes: 10 additions & 4 deletions web/locales/en/plugin__logging-view-plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"Label {{tenantKey}} is required to display the alert metrics": "label {{tenantKey}} is required to display the alert metrics",
"You do not have permission to view logs in the selected namespace.": "You do not have permissions to view logs in the selected namespace.",
"No namespaces found": "No namespaces found",
"No pods found in the selected namespace(s)": "No pods found in the selected namespace(s)",
"No pods found": "No pods found",
"No containers found in the selected namespace(s)": "No containers found in the selected namespace(s)",
"No containers found": "No containers found",
"Label {{tenantKey}} is required to display the alert metrics": "Label {{tenantKey}} is required to display the alert metrics",
"You do not have permission to view logs in the selected namespace.": "You do not have permission to view logs in the selected namespace.",
"Try selecting a different namespace that you have access to, or ask your administrator to grant you the required role": "Try selecting a different namespace that you have access to, or ask your administrator to grant you the required role",
"Try selecting a specific namespace": "Try selecting a specific namespace",
"you may have access to view logs in specific namespaces but not cluster-wide.": "you may have access to view logs in specific namespaces but not cluster-wide.",
Expand All @@ -23,6 +28,7 @@
"Explain Log Volume": "Explain Log Volume",
"Search by {{attributeName}}": "Search by {{attributeName}}",
"Attribute": "Attribute",
"No results found": "No results found",
"No results found for": "No results found for",
"No options available": "No options available",
"Filter by {{attributeName}}": "Filter by {{attributeName}}",
Expand Down Expand Up @@ -133,11 +139,11 @@
"Last 2 days": "Last 2 days",
"Last 1 week": "Last 1 week",
"Last 2 weeks": "Last 2 weeks",
"Save": "Save",
"Cancel": "Cancel",
"From": "From",
"To": "To",
"Invalid date range": "Invalid date range",
"Save": "Save",
"Cancel": "Cancel",
"Select timezone": "Select timezone",
"Clear input value": "Clear input value",
"All Timezones": "All Timezones",
Expand Down
Loading