• Kubernetes Submit Queue's avatar
    Merge pull request #46725 from timstclair/apparmor-debug · 903c40b5
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46620, 46732, 46773, 46772, 46725)
    
    Fix AppArmor test for docker 1.13
    
    ... & better debugging.
    
    The issue is that we run the pod containers in a shared PID namespace with docker 1.13, so PID 1 is no longer the container's root process. Since it's messy to get the container's root process, I switched to using `/proc/self` to read the apparmor profile. While this wouldn't catch a regression that caused only the init process to run with the wrong profile, I think it's a good approximation.
    
    /cc @aulanov @Amey-D
    903c40b5
Name
Last commit
Last update
..
e2e Loading commit data...
e2e_federation Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...
test_owners.json Loading commit data...