From a8e2a62f1bb3481bee3427122b75129278721ad4 Mon Sep 17 00:00:00 2001 From: Khushboo <46913995+khushboo9024@users.noreply.github.com> Date: Thu, 15 Feb 2024 20:43:10 +0530 Subject: [PATCH] Removed duplicate node service_account (#56) --- dashboards/role/role_nodes.sp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/dashboards/role/role_nodes.sp b/dashboards/role/role_nodes.sp index a367aab..728db5a 100644 --- a/dashboards/role/role_nodes.sp +++ b/dashboards/role/role_nodes.sp @@ -19,28 +19,6 @@ node "role" { param "role_uids" {} } -node "service_account" { - category = category.service_account - - sql = <<-EOQ - select - uid as id, - title as title, - jsonb_build_object( - 'UID', uid, - 'Automount Service Account Token', automount_service_account_token, - 'Creation Timestamp', creation_timestamp, - 'Context Name', context_name - ) as properties - from - kubernetes_service_account - where - uid = any($1); - EOQ - - param "service_account_uids" {} -} - node "role_rule_resource_name" { category = category.role_rule_resource_name