-
Notifications
You must be signed in to change notification settings - Fork 39.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seccomp GA - Add new seccomp fields and update kubelet to use them #91381
seccomp GA - Add new seccomp fields and update kubelet to use them #91381
Conversation
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/retest |
1 similar comment
/retest |
The API changes are based off the already reviewed KEP. /label api-review |
@pjbgf: GitHub didn't allow me to request PR reviews from the following users: evrardjp. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM, I've just got a few nits/suggestions 👇
/retest |
API change and validation lgtm /hold pending #91408 being ready and reviewed |
noticed one validation gap in https://github.com/kubernetes/kubernetes/pull/91381/files#r447910309 |
/retest |
2 similar comments
/retest |
/retest |
Adds seccomp validation. This ensures that field and annotation values must match when present. Co-authored-by: Sascha Grunert <[email protected]>
/test pull-kubernetes-kubemark-e2e-gce-big |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, pjbgf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds the SeccompProfile field to both Pod and Container. It also implements the kubelet enforcement priority defined at the KEP.
Which issue(s) this PR fixes:
Part of #91286
Special notes for your reviewer:
A separate PR will be created to cover annotation to field conversion, and its test cases.
The API changes made are based off the merged KEP.
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig node
/area security