Skip to content

Commit

Permalink
Removed duplicate node service_account (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
khushboo9024 authored Feb 15, 2024
1 parent a47a67c commit a8e2a62
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions dashboards/role/role_nodes.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a8e2a62

Please sign in to comment.