Consider plugin bindings combinations created by annotating KongService
, KongRoute
, KongConsumer
and KongConsumerGroup
objects
#660
Labels
Milestone
Problem statement
#644 introduced creation of
KongPluginBinding
s based onkonghq.com/plugins
annotations on entities that can have plugins bound (for this specific PR Services and Routes have received support).In order to do so, the operator needs to generate combinations of objects that should be set as targets of a plugin.
This in the operator is achieved using
KongPluginBinding
s.So for instance, if a plugin annotation is set on a
KongRoute
r1
andKongService
s1
should the operatorKongRoute
and 1 forKongService
KongRoute
andKongService
, and 1 forKongService
KongRoute
andKongService
?
KIC uses the 1st approach backed by a UT in here. This might be considered incorrect on its own but this issue does not focus on that.
This issue tracks the decision that has to be made (which might influence how KIC acts as well) whether to change the behavior described above.
#659 changes the behavior that has been introduced by #644 from 3 to 1 ( to align with KIC ).
Acceptance criteria
The text was updated successfully, but these errors were encountered: