Skip to content

Kueue: UI misleadingly shows "All namespaces" when ClusterQueue namespaceSelector is absent #1230

Description

@harsh-aghara

Describe the bug

The renderLabelSelector function in clusterQueueFormatters.ts incorrectly evaluates a nil or undefined label selector as matching all objects.

Currently, the function contains the following check:

  if (!selector) {
    return 'All namespaces';
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions