Skip to content

The 'Recent Events' page does not show anything when viewing Namespaces #14941

@eva-vashkevich

Description

@eva-vashkevich

JIRA: SURE-10521
Setup

  • Rancher version: 2.12-head
  • Rancher UI Extensions: N/A
  • Browser type & version: N/A

Describe the bug

'Recent events' tab in Namespaces is always empty.
Additionally, 'workloads' tab is also empty

To Reproduce

Create a new pod with a random string as 'container image'
Go to the corresponding pod and see that there are recent events
Now click on the namespace this pod is in
Go to Recent Events tab

Result
Events tab is empty

Expected Result

Events tab should have events from resources in that namespace

Screenshots

Image Image

Additional context

This happens for all namespaces and we do not show any events at all.
It happens because https://github.com/rancher/dashboard/blob/master/shell/components/form/ResourceTabs/index.vue#L188 filters out events from the namespace.
We should probably have custom component for this tab inside namespace.vue

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions