mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 17:57:33 +00:00
Avoid running docker specific test in containerd
This commit is contained in:
@@ -168,7 +168,7 @@ func testPrivilegedPods(tester func(pod *v1.Pod)) {
|
||||
tester(hostipc)
|
||||
})
|
||||
|
||||
if isAppArmorSupported() {
|
||||
if isAppArmorSupported() && framework.TestContext.ContainerRuntime == "docker" {
|
||||
ginkgo.By("Running a custom AppArmor profile pod", func() {
|
||||
aa := restrictedPod("apparmor")
|
||||
// Every node is expected to have the docker-default profile.
|
||||
|
Reference in New Issue
Block a user