Pular para o conteúdo
Kitbay
Skill

k8s-security-policies

MITAtualizado em 18 de nov. de 202642.668Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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