-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Problem Statement
Currently, there are two dedicated CRDs
How Kong Plugins can be configured
- Plugins can be associated with the
Ingress,Service,HTTPRoute,KongConsumer, orKongConsumerGroupobject in Kubernetes using konghq.com/plugins annotation. - For
KongClusterPlugins global label is used, which is not well documented, you can find the description in this example and PR KIC #112. - For KongPlugin cross-namespace reference with a ReferenceGrant is allowed too, which basically can replace KongClusterPlugins entirely. See KIC issue #5355 for more context.
Everything aforementioned happens in annotations and labels.
Proposed Solution
Leave only KongPlugin CRD that works with ReferenceGrant and enhance KongPluginBinding to handle all cases that used to be handled with annotations explicitly with CRDs.
Additional Information
Problems with the current approach that will be resolved
- Specifying a nonexistent plugin name via
konghq.com/pluginsannotation is silently ignored, configuration is applied with that plugin kubernetes-ingress-controller#6139 - Consider plugin bindings combinations created by annotating
KongService,KongRoute,KongConsumerandKongConsumerGroupobjects #660
Acceptance Criteria
- only
KongPluginthat works withReferenceGrantand enhancedKongPluginBinding
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request