Javier
02/08/2024, 11:38 AMJavier
02/08/2024, 2:17 PMJavier
02/08/2024, 2:36 PMspec.namespaceFluentBitCfgSelector in <http://fluentbit.v1alpha2.fluentbit.fluent.io|fluentbit.v1alpha2.fluentbit.fluent.io> is not supposed to express label selectors for the namespace where the FluentBitConfig lives, but instead for the labels of the FluentBitConfig itself.
With regards to that, the FluentBit CRD description of the field could be updated, as it currently may be missleading
NamespacedFluentBitCfgSelector selects the namespace FluentBitConfig associated with this FluentBitNotice it says namespace - rather than namespaced. This can make people think about the label filtering being applied to the namespace itself (that contains FluentBitConfig resources) rather than the the labels in the namespaced resouce itself