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/04/27 04:34:33 UTC

[GitHub] [apisix-ingress-controller] rjiang-ptm opened a new issue, #986: request help: does ApisixConsumer CR for kubernetes support plugins?

rjiang-ptm opened a new issue, #986:
URL: https://github.com/apache/apisix-ingress-controller/issues/986

   ### Issue description
   
   In Kubernetes, we use CR ApisixConsumer to create a consumer in apisix. However, it seems only support `basicaAuth` and `keyAuth`? 
   
   Using apisix admin api to create consumer directly does work, however, we'd like to use CR via apisix ingress controller if possible.
   
   When I tried to use `wolf-rbac` as the plugin, eg.
   
   ```
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixConsumer
   metadata:
     name: cluster-admin-ac
   spec:
     authParameter:
       wolf-rbac:
         value: "http://component-wolf-rbac.infra-wolf-rbac:12180"
         key: "server"
         value: "tensor"
         key: "appid"
   ```
   I got `error validating data: ValidationError(ApisixConsumer.spec.authParameter): unknown field "wolf-rbac" in org.apache.apisix.v2alpha1.ApisixConsumer.spec.authParameter; if you choose to ignore these errors, turn validation off with --validate=false`
   
   Or is there a different way to specify auth plugins?
   
   
   
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
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] tao12345666333 commented on issue #986: request help: does ApisixConsumer CR for kubernetes support plugins?

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

   @AlinsRan  Thanks! Assigned.


-- 
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 #986: request help: does ApisixConsumer CR for kubernetes support plugins?

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

   Thanks for your report. 
   
   It's true that keyauth and basicauth are only implemented in ApisixConsumer now, if you need to use other plugins, such as wolf-rbac We can easily extend it


-- 
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 #986: request help: support wolf-rbac plugin for ApisixConsumer

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

   And it can be used in next release version v1.5 


-- 
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] rjiang-ptm commented on issue #986: request help: support wolf-rbac plugin for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
rjiang-ptm commented on issue #986:
URL: https://github.com/apache/apisix-ingress-controller/issues/986#issuecomment-1141651616

   Great. When will v1.5 be released?


-- 
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] rjiang-ptm commented on issue #986: request help: support wolf-rbac plugin for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
rjiang-ptm commented on issue #986:
URL: https://github.com/apache/apisix-ingress-controller/issues/986#issuecomment-1117572624

   Any estimate on when we'd have this feature released? Thanks!


-- 
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 closed issue #986: request help: support wolf-rbac plugin for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #986: request help: support wolf-rbac plugin for ApisixConsumer
URL: https://github.com/apache/apisix-ingress-controller/issues/986


-- 
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 #986: request help: support wolf-rbac plugin for ApisixConsumer

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

   After https://github.com/apache/apisix-ingress-controller/issues/954 has been solved.


-- 
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 #986: request help: does ApisixConsumer CR for kubernetes support plugins?

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

   Let me do it!


-- 
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 #986: request help: support wolf-rbac plugin for ApisixConsumer

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

   If the implementation is complete, we can release it in the next version.


-- 
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 #986: request help: support wolf-rbac plugin for ApisixConsumer

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

   #1011 has been merged. I will close this one.


-- 
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] rjiang-ptm commented on issue #986: request help: support wolf-rbac plugin for ApisixConsumer

Posted by GitBox <gi...@apache.org>.
rjiang-ptm commented on issue #986:
URL: https://github.com/apache/apisix-ingress-controller/issues/986#issuecomment-1138178647

   Thanks for getting this done! Which release and when will this feature be available?
   
   Also a related question:  in the apisixConsumer config for wolf-rbac, the appId field can only be specified for one appid, or a list of appid? The use case is: usually for a given consumer/user, there are multiple apps (appids) associated with that user. If the apisixConsumer wolf-rbac config can support multiple appid for a given consumer/user, how to specify it - in what format, can you show some examples? If it's not supported, what do you suggest to support the above user case?
   
   
   


-- 
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 #986: request help: support wolf-rbac plugin for ApisixConsumer

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

   @rjiang-ptm please refer  https://github.com/apache/apisix-ingress-controller/blob/49dd015085a68ce4c26ba60076ef281ed71af2aa/test/e2e/suite-features/consumer.go#L393


-- 
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] request help: support wolf-rbac plugin for ApisixConsumer [apisix-ingress-controller]

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

   
   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