aron-ac commented on issue #6987:
URL: https://github.com/apache/cloudstack/issues/6987#issuecomment-1371343725

   @davidjumani so we tried access the API as that kubeadmin account and found 
it is unable to see what it needs to (networks, or even the kubernetes cluster 
itself) it can only see users in that project:  
    
   
   ```
   (K8Sadmin) 🐱 > sync
   Discovered 335 APIs
   (K8Sadmin) 🐱 > list networks 
   (K8Sadmin) 🐱 >  
   (K8Sadmin) 🐱 > list volumes
   (K8Sadmin) 🐱 > list virtualmachines 
   (K8Sadmin) 🐱 > list vpcs 
   (K8Sadmin) 🐱 > list kubernetesclusters 
   (K8Sadmin) 🐱 > list users filter=account
   {
     "count": 3,
     "user": [
       {
         "account": "XXX-XXX-1007"
       },
       {
         "account": "XXX-XXX-1007"
       },
       {
         "account": "XXX-XXX-1007"
       }
     ]
   }
   (K8Sadmin) 🐱 > list users filter=account,username
   {
     "count": 3,
     "user": [
       {
         "account": "XXX-XXX-1007",
         "username": "XXX-XXX-1007"
       },
       {
         "account": "XXX-XXX-1007",
         "username": "XXX-XXX-1007-kubeadmin"
       },
       {
         "account": "XXX-XXX-1007",
         "username": "YYY-YYY-3099328"
       }
     ]
   }
   ```


-- 
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