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

   ### Issue description
   
   consumer - 
   
   
   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixConsumer
   metadata:
     name: apisixtestcon
     namespace: apisix-ns
   spec:
     ingressClassName: "apisix"
     authParameter:
           keyAuth:
             value:
               key: *****
   ```
   
   
   consumer inside the admin api calll - 
   ```
   
   {
               "username": "apisix-ns_apisixtestcon",
               "modifiedIndex": 1763266140636,
               "plugins": {
                   "key-auth": {}
   ```
   
   
   
   When ever a new consumer is added the username gets created inside the 
apisix admin as namespace_consumername, due to this when ever we are trying to 
whitelist any consumer in the route we have to add the whitelisted consumer 
name as namespace_consumername , we just want the consumer name which we are 
creating should be taken as username instead of what is being created , please 
let me know if any changes I can do to achieve the above .
   
   ### Environment
   
   Environment
   
   APISIX version: 3.13.0
   APISIX Ingress Controller: 2.0.0-rc5
   Deployment mode: Standalone (apisix-standalone provider)
   Gateway API: v1
   Platform: Kubernetes


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to