Control: PodTemplate containers should has security context defined
Description
This check ensures that the container in a PodTemplate definition has security context defined.
Usage
Run the control in your terminal:
powerpipe control run kubernetes_compliance.control.pod_template_container_security_context_exists
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run kubernetes_compliance.control.pod_template_container_security_context_exists --share
SQL
This control uses a named query:
pod_template_container_security_context_exists