Skip to content

Commit

Permalink
Merge pull request kubernetes#100540 from mauriciopoppe/remove-selinu…
Browse files Browse the repository at this point in the history
…xoptions

Remove SELinuxOptions double setup in pod spec
  • Loading branch information
k8s-ci-robot authored Mar 25, 2021
2 parents 68c0212 + d9c4d8b commit bcab4c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/e2e/framework/pod/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@ func MakePodSpec(podConfig *Config) *v1.PodSpec {
podSpec.Containers[0].VolumeMounts = volumeMounts
podSpec.Containers[0].VolumeDevices = volumeDevices
podSpec.Volumes = volumes
if runtime.GOOS != "windows" {
podSpec.SecurityContext.SELinuxOptions = podConfig.SeLinuxLabel
}

SetNodeSelection(podSpec, podConfig.NodeSelection)
return podSpec
Expand Down

0 comments on commit bcab4c3

Please sign in to comment.