What problem does it solve?
This Skill reduces the risk of compromised Kubernetes workloads by ensuring least-privilege RBAC, enforcing pod hardening, isolating network traffic, and protecting secrets and supply chain integrity.
Core Features & Use Cases
- RBAC least-privilege hardening: Generates Roles, RoleBindings, and ServiceAccount practices that prevent overbroad Kubernetes access.
- PodSecurity-compliant workload configuration: Applies non-root, restricted securityContext settings and image hardening patterns.
- Network isolation with default-deny policies: Produces NetworkPolicy manifests for ingress/egress isolation and required DNS egress.
- Supply chain and secret security controls: Adds guidance for cosign signing, admission controls (e.g., Kyverno), and safer secret handling (Sealed Secrets / External Secrets).
Use it when you need to secure a new namespace or retrofit production hardening so that common misconfigurations are detected and blocked.
Quick Start
Ask: "Secure my Kubernetes namespace by generating RBAC, restricted pod security settings, and a default-deny NetworkPolicy with DNS egress."