apache / apisix-ingress-controller

APISIX Ingress Controller for Kubernetes
https://apisix.apache.org/
Apache License 2.0
1.01k stars 341 forks source link

feat: As a user, I want to consumer-restriction to support upstream_id #1906

Open nijave opened 1 year ago

nijave commented 1 year ago

Description

It looks like the ingress operator no longer supports Service and instead advises Upstream https://github.com/apache/apisix-ingress-controller/pull/230. However, this prevents consumer-restriction from being used since it doesn't offer a type of upstream_id

The use-case is to be able to configure which "Service" (which I guess is Upstream objects using the ingress controller) a given consumer or consumer_group can access.

Revolyssup commented 1 year ago

@tao12345666333 This can be moved to https://github.com/apache/apisix-ingress-controller under feature-request

tao12345666333 commented 1 year ago

I think what you need is Restricting by service_id similar feature, right? https://apisix.apache.org/docs/apisix/plugins/consumer-restriction/#restricting-by-service_id

nijave commented 1 year ago

I think what you need is Restricting by service_id similar feature, right? https://apisix.apache.org/docs/apisix/plugins/consumer-restriction/#restricting-by-service_id

Yeah, I think that would work