Skip to content

Commit

Permalink
TEMP: Change default image and security context
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Sep 28, 2023
1 parent 5eb07e9 commit f046f44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/e2e/testsuites/testsuites.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,14 @@ func NewTestPod(c clientset.Interface, ns *v1.Namespace, command string) *TestPo
Containers: []v1.Container{
{
Name: "volume-tester",
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Image: "docker.io/ubuntu", // TODO can be refactored out, waiting to see if Connor can big brain way to use busybox
Command: []string{"/bin/sh"},
Args: []string{"-c", command},
VolumeMounts: make([]v1.VolumeMount, 0),
// TODO Should be refactored out, waiting to see if Connor can big brain a non-privileged way to get fs info
SecurityContext: &v1.SecurityContext{
Privileged: func(b bool) *bool { return &b }(true), // TODO https://stackoverflow.com/questions/28817992/how-to-set-bool-pointer-to-true-in-struct-literal
},
},
},
RestartPolicy: v1.RestartPolicyNever,
Expand Down

0 comments on commit f046f44

Please sign in to comment.