mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +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)
|
tester(hostipc)
|
||||||
})
|
})
|
||||||
|
|
||||||
if isAppArmorSupported() {
|
if isAppArmorSupported() && framework.TestContext.ContainerRuntime == "docker" {
|
||||||
ginkgo.By("Running a custom AppArmor profile pod", func() {
|
ginkgo.By("Running a custom AppArmor profile pod", func() {
|
||||||
aa := restrictedPod("apparmor")
|
aa := restrictedPod("apparmor")
|
||||||
// Every node is expected to have the docker-default profile.
|
// Every node is expected to have the docker-default profile.
|
||||||
|
Reference in New Issue
Block a user