Skip to content

kueue: Fix namespaceSelector nil vs empty semantics - #1280

Open
magic-peach wants to merge 1 commit into
headlamp-k8s:mainfrom
magic-peach:fix/kueue-namespace-selector-semantics
Open

magic-peach wants to merge 1 commit into
headlamp-k8s:mainfrom
magic-peach:fix/kueue-namespace-selector-semantics

Conversation

@magic-peach

Copy link
Copy Markdown

Per the Kueue API, a nil namespaceSelector means no namespaces are eligible, while an explicit empty selector matches every namespace. renderLabelSelector had this backwards, showing All namespaces for a ClusterQueue that actually admits none.

Per the Kueue API, a nil namespaceSelector means no namespaces are
eligible, while an explicit empty selector matches every namespace.
renderLabelSelector had this backwards, showing All namespaces for a
ClusterQueue that actually admits none.

Signed-off-by: Akanksha Trehun <akankshatrehun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant