• Kubernetes Submit Queue's avatar
    Merge pull request #30183 from timstclair/aa-psp · 0b5547f4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    AppArmor PodSecurityPolicy support
    
    Implements the AppArmor PodSecurityPolicy support based on the alpha API proposed [here](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/apparmor.md#pod-security-policy)
    
    This implementation deviates from the original proposal in one way: it adds a separate option for specifying a default profile:
    ```
    apparmor.security.alpha.kubernetes.io/defaultProfileName
    ```
    This has several advantages over the original proposal:
    
    - The default is explicit, rather than implicit on the ordering
    - The default can be specified without constraining the allowed profiles
    - The allowed profiles can be restricted without specifying a default (requires every pod to explicitly set a profile)
    
    The E2E cluster does not currently enable the PodSecurityPolicy, so I will submit E2E tests in a separate PR.
    
    /cc @dchen1107 @pweil- @sttts @jfrazelle @Amey-D
    0b5547f4
Name
Last commit
Last update
..
admission Loading commit data...
auth Loading commit data...
client/auth Loading commit data...
scheduler Loading commit data...
webhook Loading commit data...