Skip to content
Kitbay
Skill

k8s-security-policies

MITUpdated on Nov 18, 202642,668GitHub stars

A Kubernetes security skill from Seth Hobson's agents collection with ready-made YAML for locking down a cluster.

What the skill teaches

A Kubernetes security skill from Seth Hobson's agents collection with ready-made YAML for locking down a cluster. It covers the three Pod Security Standards levels applied through namespace labels, NetworkPolicies for default deny, frontend-to-backend traffic and DNS, Roles, ClusterRoles and RoleBindings for least privilege, restricted pod security contexts, OPA Gatekeeper constraint templates, and Istio mTLS and authorization policies. It closes with practices, pointers to CIS and NIST frameworks and kubectl commands for checking permissions and policy support. Its description still names the removed PodSecurityPolicy API.

Capabilities

  • Write NetworkPolicies for namespace isolation
  • Apply Pod Security Standards to namespaces
  • Create least-privilege RBAC roles and bindings
  • Write OPA Gatekeeper and Istio policies