turbot/kubernetes_insights

Query: daemonset_default_namespace

Usage

powerpipe query kubernetes_insights.query.daemonset_default_namespace

SQL

select
'Namespace' as label,
initcap(namespace) as value,
case when namespace = 'default' then 'alert' else 'ok' end as type,
n.uid as "UID"
from
kubernetes_daemonset as d,
kubernetes_namespace as n
where
n.name = d.namespace
and n.context_name = d.context_name
and d.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: