ojob.io/kube/podSec

Usage

ojob ojob.io/kube/podSec ns=default op=check level=restricted action=enforce 

Description

Sets the necessary labels to enforce or not K8S Pod Security Standards per namespace

Expects

Name Description
ns The K8S namespace to enforce or remove labels
op The operation to execute (e.g. apply, remove, check). By default it uses 'check'.
level The K8S Pod Security Standards level to apply (e.g. restricted, baseline)
action The K8S Pod Security Standards action (e.g. audit, warn, enforce)