I’m trying to figure out a way of configuring consumers and routes in a way that allows some consumers to use only certain methods on some routes. For example:
I have ingress with path /foo/ and the key-auth plugin enabled and acl with two consumers, consumerA and consumerB. I want the consumerA to be able to use POST only on the /foo/ path but consumerB should be able to send GET as well as POST.
I know I can use kongIngress crd to control what methods are allowed on which route but cannot see a way of doing the same for consumers and ACLs.
Am I missing something or approaching the problem from the wrong angle?