Skip to content

Conversation

@felix-kaestner
Copy link
Contributor

No description provided.

As the `List` call explicitly uses the `InNamespace` option, there is no
need for using the `clientutil` package in this case.
In this situation is needless to use the `clientutil` as the namespace
for the resource is always given explicitly be the `ISIS` resource which
contains the `LocalObjectReferences`. Therefore using the client wrapper
is not needed.
This patch changes the implementation of the `List` method on the k8s
client wrapper implemented in the `clientutil` package to only add the
`InNamespace` option for restricting to a certain namespace, if that
option is not already provided to the function, honoring the callers
intend.
@felix-kaestner felix-kaestner requested a review from a team as a code owner December 4, 2025 17:30
@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Dec 5, 2025
@hardikdr hardikdr added this to Roadmap Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants