Don't explicitly set image version in tests

Image versions are already explicitly set in our manifests
configuration, so tests should not be setting these values
to ensure we're using the same versions across the board.
This commit is contained in:
Maciej Szulik 2023-02-02 19:00:24 +01:00
parent ae23b0c11b
commit 8b48ff3584
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

View File

@ -83,7 +83,6 @@ var _ = SIGDescribe("Security Context", func() {
gidDefinedInImage := int64(50000)
supplementalGroup := int64(60000)
agnhost := imageutils.GetConfig(imageutils.Agnhost)
(&agnhost).SetVersion("2.43")
pod := scTestPod(false, false)
pod.Spec.Containers[0].Image = agnhost.GetE2EImage()
pod.Spec.Containers[0].Command = []string{"id", "-G"}