Change image pull policy to PullIfNotPresent in integration tests
When running integration tests locally the image is usually not pushed
to a public registry where it can be pulled from.
@@ -90,7 +90,7 @@ func (e *Environment) setupCFOperator() (manager.Manager, error) {
return nil, errors.Errorf("required environment variable DOCKER_IMAGE_TAG not set")
}
- err = converter.SetupOperatorDockerImage(dockerImageOrg, dockerImageRepo, dockerImageTag, corev1.PullAlways)
+ err = converter.SetupOperatorDockerImage(dockerImageOrg, dockerImageRepo, dockerImageTag, corev1.PullIfNotPresent)
if err != nil {
return nil, err
}
