You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "VanDuy91 (via GitHub)" <gi...@apache.org> on 2023/06/14 08:03:08 UTC
[GitHub] [cloudstack] VanDuy91 commented on issue #7618: Get All Access Info Of a Cluster Kubernetes Through API Key's User
VanDuy91 commented on issue #7618:
URL: https://github.com/apache/cloudstack/issues/7618#issuecomment-1590681556
> @VanDuy91
>
> I am not able to reproduce this issue, The steps that i followed are
>
> Could you please cross check again if they are correct
>
> ```
> 1. Create account of role type user ( Lets say Account 1 > User1)
> 2. Login as user 1 > Launch a k8s cluster
> 3. Execute api call with user 1 apikey and secret key
> https://cloudstack.apache.org/api/apidocs-4.18/apis/listKubernetesClusters.html
>
> list kubernetesclusters
>
> Able to get the output of the api call
>
> 4. Create account of role type user ( Lets say Account 2> User2)
>
> 5. Execute api call with user 2 apikey and secret key
> https://cloudstack.apache.org/api/apidocs-4.18/apis/listKubernetesClusters.html
>
> list kubernetesclusters
>
> There is no response to the api call
> ```
Hi @kiranchavala ,
Following steps were what I did:
~~~
1. Create an account of role type user (Let's say Account 1 > User1)
2. Login as user 1 > Launch a k8s cluster
3. Execute API call with user 1 API key and secret key
https://cloudstack.apache.org/api/apidocs-4.18/apis/getKubernetesClusterConfig.html
get Kubernetes clusters access
Able to get the output of the API call (including the Kubernetes cluster config)
4. Create an account of role type user ( Lets say Account 2> User2)
5. Execute API call with user 2 API key and secret key and k8s cluster's ID get from User1
https://cloudstack.apache.org/api/apidocs-4.18/apis/getKubernetesClusterConfig.html
Get Kubernetes clusters access
Able to get the output of the API call (including the Kubernetes cluster config)
~~~
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org