turbot/steampipe-mod-kubernetes-insights

Dashboard: Kubernetes Role Detail

This dashboard answers the following questions for each Role:

  • What relationships does the Role have with other resources?
  • How is my Role configured?
  • What labels and annotations are applied?
  • What rules are associated to the Role?
This dashboard contains 2 cards, 1 graph, 1 input and 4 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-kubernetes-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Kubernetes Role Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run kubernetes_insights.dashboard.role_detail --share

Queries

This dashboard uses the the following queries:
with jsondata as (
select
annotations::json as annotation
from
kubernetes_role
where
uid = $1
)
select
key as "Key",
value as "Value"
from
jsondata,
json_each_text(annotation)
order by
key;
{
"$1": "uid"
}

Tags