mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Add image white list, images in white list will be prepulled, and
only images in white list could be used in the test. Currently only enabled in node e2e test.
This commit is contained in:
@@ -165,7 +165,7 @@ func createPodWithAppArmor(f *framework.Framework, profile string) *api.Pod {
|
||||
Spec: api.PodSpec{
|
||||
Containers: []api.Container{{
|
||||
Name: "test",
|
||||
Image: ImageRegistry[busyBoxImage],
|
||||
Image: "gcr.io/google_containers/busybox:1.24",
|
||||
Command: []string{"touch", "foo"},
|
||||
}},
|
||||
RestartPolicy: api.RestartPolicyNever,
|
||||
|
||||
Reference in New Issue
Block a user