complete-devsecops-pipeline-for-kubernetes-from-scratch
Complete DevSecOps Pipeline Deployment for Kubernetes, From Scratch
Purpose
A Kubernetes-targeted DevSecOps pipeline has a gate sequence with two properties the serverless and VM variants of this skill don't share: a policy-as-code admission gate (OPA/Kyverno) sits between the built artifact and the GitOps handoff, checking the manifests themselves (non-root, resource limits, approved registries, required labels) rather than only the image contents — and secrets never need to be present in the pipeline at all, because an External Secrets Operator running in-cluster pulls them directly from a vault at deploy time, decoupled entirely from CI. This is a materially different secrets model from serverless (a managed secrets service the function's execution role reads at invoke time) and VM-based (config-management-applied secrets baked in at config-push time). This skill sequences SAST → SCA → image scan → policy gate → GitOps handoff into one coherent walkthrough; each gate's own mechanics are covered in depth by the linked skills.