turbot/kubernetes_insights

Query: roles_for_namespace

Usage

powerpipe query kubernetes_insights.query.roles_for_namespace

SQL

select
r.uid as uid
from
kubernetes_role as r,
kubernetes_namespace as n
where
r.namespace = n.name
and r.context_name = n.context_name
and n.uid = $1;