diff --git a/operator/controllers/lifecycle/keptntask/js_builder.go b/operator/controllers/lifecycle/keptntask/js_builder.go index b6fb1083e83..063cb4e7aca 100644 --- a/operator/controllers/lifecycle/keptntask/js_builder.go +++ b/operator/controllers/lifecycle/keptntask/js_builder.go @@ -36,8 +36,9 @@ type FunctionExecutionParams struct { func (js *JSBuilder) CreateContainerWithVolumes(ctx context.Context) (*corev1.Container, []corev1.Volume, error) { container := corev1.Container{ - Name: "keptn-function-runner", - Image: os.Getenv("FUNCTION_RUNNER_IMAGE"), + Name: "keptn-function-runner", + Image: os.Getenv("FUNCTION_RUNNER_IMAGE"), + ImagePullPolicy: "IfNotPresent", } var envVars []corev1.EnvVar