turbot/kubernetes_insights

Query: containers_for_daemonset

Usage

powerpipe query kubernetes_insights.query.containers_for_daemonset

Steampipe Tables

SQL

select
container ->> 'name' || pod.name as name
from
kubernetes_pod as pod,
jsonb_array_elements(pod.owner_references) as pod_owner,
jsonb_array_elements(pod.containers) as container
where
pod_owner ->> 'uid' = $1;