executor: use busybox:stable as default init image

Use "busybox:stable" as default init image name so it won't be checked/pulled
any time.
This commit is contained in:
Simone Gotti 2021-05-25 10:27:04 +02:00
parent 875e118817
commit afece4d846
4 changed files with 4 additions and 4 deletions

View File

@ -235,7 +235,7 @@ var defaultConfig = Config{
},
Executor: Executor{
InitImage: InitImage{
Image: "busybox",
Image: "busybox:stable",
},
ActiveTasksLimit: 2,
},

View File

@ -42,7 +42,7 @@ func TestDockerPod(t *testing.T) {
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
initImage := "busybox"
initImage := "busybox:stable"
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
if err != nil {

View File

@ -41,7 +41,7 @@ func TestK8sPod(t *testing.T) {
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
initImage := "busybox"
initImage := "busybox:stable"
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
if err != nil {

View File

@ -265,7 +265,7 @@ func setup(ctx context.Context, t *testing.T, dir string) (*testutil.TestEmbedde
Labels: map[string]string{},
ActiveTasksLimit: 2,
InitImage: config.InitImage{
Image: "busybox",
Image: "busybox:stable",
},
},
Configstore: config.Configstore{