Merge pull request #270 from sgotti/executor_use_busybox_stable_as_default_init_image
executor: use busybox:stable as default init image
This commit is contained in:
commit
42a07856cc
|
@ -235,7 +235,7 @@ var defaultConfig = Config{
|
||||||
},
|
},
|
||||||
Executor: Executor{
|
Executor: Executor{
|
||||||
InitImage: InitImage{
|
InitImage: InitImage{
|
||||||
Image: "busybox",
|
Image: "busybox:stable",
|
||||||
},
|
},
|
||||||
ActiveTasksLimit: 2,
|
ActiveTasksLimit: 2,
|
||||||
},
|
},
|
||||||
|
|
|
@ -42,7 +42,7 @@ func TestDockerPod(t *testing.T) {
|
||||||
|
|
||||||
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
||||||
|
|
||||||
initImage := "busybox"
|
initImage := "busybox:stable"
|
||||||
|
|
||||||
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
|
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -41,7 +41,7 @@ func TestK8sPod(t *testing.T) {
|
||||||
|
|
||||||
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
||||||
|
|
||||||
initImage := "busybox"
|
initImage := "busybox:stable"
|
||||||
|
|
||||||
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
|
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -265,7 +265,7 @@ func setup(ctx context.Context, t *testing.T, dir string) (*testutil.TestEmbedde
|
||||||
Labels: map[string]string{},
|
Labels: map[string]string{},
|
||||||
ActiveTasksLimit: 2,
|
ActiveTasksLimit: 2,
|
||||||
InitImage: config.InitImage{
|
InitImage: config.InitImage{
|
||||||
Image: "busybox",
|
Image: "busybox:stable",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Configstore: config.Configstore{
|
Configstore: config.Configstore{
|
||||||
|
|
Loading…
Reference in New Issue