You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/04 03:19:47 UTC

[GitHub] [apisix-ingress-controller] akalittle opened a new issue, #1214: request help: unable to apply plugins to ApisixConsumer

akalittle opened a new issue, #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214

   ### Issue description
   
   [ApisixConsumer CRD](https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/crd/v1/ApisixConsumer.yaml)
   
   ```yaml
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixConsumer
   metadata:
     name: test-consumer
     namespace: apisix-istio
   spec:
     authParameter:
       keyAuth:
         value:
           key: j5giofawfk9OtR6pVvYz
       #  plugins: 
       #    - 
   ```
   
   Is there a way to bind some plugins to the consumer directly in yaml file ?
   However, I know it's possible to apply the plugin via dashboard. But It's more convenient to write all configs in yaml file.
   
   
   ### Environment
   
   Environment
   apache/apisix:2.15.0-alpine
   apache/apisix-ingress-controller:1.4.1
   docker.io/bitnami/etcd:3.5.4-debian-11-r14
   
   Kubernetes cluster version:
   Client Version: v1.24.0
   Kustomize Version: v4.5.4
   Server Version: v1.21.12-gke.2200


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle commented on issue #1214: feature request: Add plugin support for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1233742801

   @tao12345666333 
   I just saw this. I will try to solve this  this weekend.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1211475962

   That is ok. 
   However, applying plugins to the Consumers is ok in the dashboard. Maybe you should also forbid this in the dashboard?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1221015098

   Thanks for the reminder, sorry I remembered wrong
   
   https://apisix.apache.org/docs/apisix/terminology/consumer/
   
   So I think we can fill this part of the capacity


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1214: feature request: Add plugin support for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1333344022

   Are you still working on it? @akalittle 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1214: feature request: Add plugin support for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1221018987

   @akalittle Are you interested in implementing this feature?
   
   It's not complicated and there is some existing code for reference.
   Feel free to ping me if you have any issues implementing this feature


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1211070565

   In the APISIX world, Plugins are associated with Routes, not enabled for Consumers.
   
   We need to keep this behavior consistent with APISIX


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle closed issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle closed issue #1214: request help:  unable to apply plugins to ApisixConsumer
URL: https://github.com/apache/apisix-ingress-controller/issues/1214


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle closed issue #1214: feature request: Add plugin support for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle closed issue #1214: feature request:  Add plugin support for ApisixConsumer
URL: https://github.com/apache/apisix-ingress-controller/issues/1214


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] AlinsRan commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
AlinsRan commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1204719784

   What plugins do you need consumer to bind? As far as I know, only `limit-count` is supported.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1204750765

   `limit-count` to limit the request count the consumer


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1214: feature request: Add plugin support for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1233762104

   I will reopen this issue for tracking and assign it to you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] AlinsRan commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
AlinsRan commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1204716490

   Please check https://apisix.apache.org/zh/docs/ingress-controller/tutorials/enable-authentication-and-restriction/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] akalittle commented on issue #1214: request help: unable to apply plugins to ApisixConsumer

Posted by GitBox <gi...@apache.org>.
akalittle commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1204751744

   I've binded the `limit-count` plugin in my dev cluster via dashboard.
   But you know if there are lots of consumers.. You need to bind  all the plugin by yourself.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] feature request: Add plugin support for ApisixConsumer [apisix-ingress-controller]

Posted by "nightguide (via GitHub)" <gi...@apache.org>.
nightguide commented on issue #1214:
URL: https://github.com/apache/apisix-ingress-controller/issues/1214#issuecomment-1822743946

   
   We also want to use this functionality. Is there any progress on implementing this functionality?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org