You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to specify a namespacesSupplier as the only source of a namespace that an @Informer uses for watching with the current DefaultInformerNamespaceResolver.
Actual Behaviour
The current logic of DefaultInformerNamespaceResolver[1] does always add the literal string RESOLVE_AUTOMATICALLY as an actual namespace if only namespaceSupplier is provided, and it is not possible to provide a namespaceSupplier and ignore whatever it is that namespace is set to (tried "" for example).
Expected Behavior
I would like to specify a
namespacesSupplier
as the only source of a namespace that an@Informer
uses for watching with the currentDefaultInformerNamespaceResolver
.Actual Behaviour
The current logic of
DefaultInformerNamespaceResolver
[1] does always add the literal stringRESOLVE_AUTOMATICALLY
as an actual namespace if onlynamespaceSupplier
is provided, and it is not possible to provide anamespaceSupplier
and ignore whatever it is thatnamespace
is set to (tried""
for example).[1] https://github.com/micronaut-projects/micronaut-kubernetes/blob/master/kubernetes-informer/src/main/java/io/micronaut/kubernetes/client/informer/resolvers/DefaultInformerNamespaceResolver.java#L92-L104
Steps To Reproduce
k8s
environmentnamespaceSupplier
that provides an array of namespacesEnvironment Information
Example Application
No response
Version
3.5.3
The text was updated successfully, but these errors were encountered: