• Kubernetes Submit Queue's avatar
    Merge pull request #33500 from Random-Liu/apparmor-seccomp-cri · a241daf3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add seccomp and apparmor support.
    
    This PR adds seccomp and apparmor support in new CRI.
    
    This a WIP because I'm still adding unit test for some of the functions. Sent this PR here for design discussion.
    
    This PR is similar with https://github.com/kubernetes/kubernetes/pull/33450.
    The differences are:
    * This PR passes seccomp and apparmor configuration via annotations;
    * This PR keeps the seccomp handling logic in docker shim because current seccomp implementation is very docker specific, and @timstclair told me that even the json seccomp profile file is defined by docker.
    
    Notice that this PR almost passes related annotations in `api.Pod` to the runtime directly instead of introducing new CRI annotation.
    
    @yujuhong @feiskyer @timstclair
    a241daf3
Name
Last commit
Last update
..
apparmor Loading commit data...
podsecuritypolicy Loading commit data...
doc.go Loading commit data...