turbot/kubernetes_insights

Query: container_volume_mount

Usage

powerpipe query kubernetes_insights.query.container_volume_mount

Steampipe Tables

SQL

select
v ->> 'name' as "Name",
v ->> 'mountPath' as "Mount Path"
from
kubernetes_pod,
jsonb_array_elements(containers) as c,
jsonb_array_elements(c -> 'volumeMounts') as v
where
concat(c ->> 'name',name) = $1
order by
v ->> 'name';

Params

ArgsNameDefaultDescriptionVariable
$1name

    Dashboards

    The query is used in the dashboards: