You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/04/14 17:10:58 UTC

[cloudstack-primate] branch master updated: compute: kubernetes admin listing user cluster instance (#287)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new d1690d8  compute: kubernetes admin listing user cluster instance (#287)
d1690d8 is described below

commit d1690d887795f399604b580aab51d6d80c8dc63e
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Tue Apr 14 22:40:51 2020 +0530

    compute: kubernetes admin listing user cluster instance (#287)
    
    Fixes #286
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 src/views/compute/KubernetesServiceTab.vue | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/views/compute/KubernetesServiceTab.vue b/src/views/compute/KubernetesServiceTab.vue
index daa7851..1f6fd4b 100644
--- a/src/views/compute/KubernetesServiceTab.vue
+++ b/src/views/compute/KubernetesServiceTab.vue
@@ -312,6 +312,9 @@ export default {
       this.virtualmachines = []
       if (!this.isObjectEmpty(this.resource) && this.arrayHasItems(this.resource.virtualmachineids)) {
         var params = {}
+        if (this.isAdminOrDomainAdmin()) {
+          params.listall = true
+        }
         if (this.isValidValueForKey(this.resource, 'projectid') &&
           this.resource.projectid !== '') {
           params.projectid = this.resource.projectid