Allow securityContext in EphemeralContainers

This commit is contained in:
Lee Verberne
2021-02-12 10:44:54 +01:00
parent 07358f1663
commit 70765fa24d
5 changed files with 21 additions and 13 deletions

View File

@@ -1359,12 +1359,12 @@ func TestDropEphemeralContainers(t *testing.T) {
pod func() *api.Pod
}{
{
description: "has subpaths",
description: "has ephemeral containers",
hasEphemeralContainers: true,
pod: podWithEphemeralContainers,
},
{
description: "does not have subpaths",
description: "does not have ephemeral containers",
hasEphemeralContainers: false,
pod: podWithoutEphemeralContainers,
},