Let the ClusterFilter
API to use a ConfigMap
reference with namespace
#1470
Labels
namespace assumption
issue complaining about the namespace assumptions
Is your feature request related to a problem? Please describe.
I am facing a problem where another Kubernetes API is interacting with the
ClusterFilter
API, specifically theConfigMap
reference of the Lua script that one can configure (ClusterFilter.spec.filters[].Lua.Script
).This is of type
ConfigMapKeySelector
, which in turn has aLocalObjectReference
inside it.According to documentation of this type:
The problem herein lies that the
ClusterFilter
API is a non-namespaced resource.Therefore, other APIs do not know that the referenced
ConfigMap
is meant to be in the namespace of fluent-bit.Describe the solution you'd like
It would be nice to not have any implicit namespace assumption, but use something like
ObjectReference
instead, enabling other APIs to also know where thisConfigMap
lives.Additional context
No response
The text was updated successfully, but these errors were encountered: