Hello, I am currentyl moving to kong-ingress to manage my APIs and I am trying ta apply plugin on route and not directly on service. For exemple I have an backend API that need to allow cache only on some specific route, but the way I deploy plugin in kong do not allow me to specify route restriction.
for example, to put cache on some service i apply :
I am okay with your solution it work indeed. However with such a solution I will tend to create one ingress for each route of my service isn’t it ? If I want to precisely manage my Cache time i could have situation where each of this time is different. I use to see the ingress ressource as something upper the services to manage the traffic toward them.
Is there any other way ?
I thought to use different service for the specific route that way I only apply the plugin to this service. But with that I am creating a lot of service for the same API.
What I am looking for (if it exist) is a way to specify in the plugin yaml (or during the creation of the plugin) the route that this plugin will target.