fix(security): supply the C-0211 baseline context to the kubescape workloads - #3875
Conversation
…rkloads Post-render fsGroupChangePolicy OnRootMismatch and an empty container seLinuxOptions onto the kubescape, kubevuln, operator and storage Deployments and both scheduler CronJobs, and fsGroupChangePolicy onto the node-agent DaemonSet, which keeps its spc_t SELinux type. Part of #3239 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai review |
|
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🔇 Additional comments (2)
📝 WalkthroughWalkthroughThe Kubescape HelmRelease adds security-context patches for Deployments, scheduler CronJobs, and the node-agent DaemonSet. Deployments and CronJobs receive Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The PR applies the intended Kubescape security-context baseline and preserves the node-agent SELinux type. No actionable deployment or policy failure is established; normal validator and CI checks should confirm the updated aggregate. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Readiness at head
|
Why
The Kubescape namespace is excluded from the automatic security-context policy, so its seven workloads never received the two C-0211 fields that every other namespace gets. They are among the last gaps keeping the C-0211 population from closing.
What
Adds the two fields to the Kubescape scanner, vulnerability scanner, operator, storage, both scan schedulers and the node agent. The node agent keeps the SELinux type it needs to watch host processes. Nothing else about the workloads changes, and the pods roll once.
Part of #3239