Merge pull request #99023 from verb/1.21-securitycontext

Allow setting securityContext in ephemeral containers
This commit is contained in:
Kubernetes Prow Robot
2021-07-09 20:50:46 -07:00
committed by GitHub
9 changed files with 75 additions and 16 deletions

View File

@@ -1365,12 +1365,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,
},