Add seccompProfile to sub-operator deployment template - #2051
Conversation
The managers.yaml template generates Deployments for ~20 child operators. While the template already includes readOnlyRootFilesystem and capability drop (added in 010517c), it was missing seccompProfile at the pod security context level. This adds seccompProfile: type RuntimeDefault to match the umbrella operator's own deployment and satisfy the Restricted Pod Security Standard. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe manager Deployment pod security context now sets the seccomp profile type to ChangesManager deployment security
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The deployment templates now apply the RuntimeDefault seccomp profile to child operators, improving pod security compliance without introducing an actionable merge-blocking risk; the PR is merge-ready after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
OpenStackControlPlane CRD Size Report
Threshold reference
|
PR Summary by QodoAdd RuntimeDefault seccompProfile to sub-operator Deployment template
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can switch off images and animations for a plain-text comment |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 13m 17s |
The managers.yaml template generates Deployments for ~20 child operators. While the template already includes
readOnlyRootFilesystemand capability drop (added in010517ca), it was missingseccompProfileat the pod security context level.This adds
seccompProfile: type: RuntimeDefaultto match the umbrella operator's own deployment and satisfy the Restricted Pod Security Standard.