turbot/kubernetes_insights

Query: deployments_for_replicaset

Usage

powerpipe query kubernetes_insights.query.deployments_for_replicaset

Steampipe Tables

SQL

select
owner ->> 'uid' as uid
from
kubernetes_replicaset as r,
jsonb_array_elements(r.owner_references) as owner
where
r.uid = $1;