customForcePull:  changes to allow force pull of customer build strategy, including updates based on review with Ben; address gofmt issues
@@ -229,6 +229,10 @@ type CustomBuildStrategy struct {
// inside the Docker container.
// TODO: Allow admins to enforce 'false' for this option
ExposeDockerSocket bool `json:"exposeDockerSocket,omitempty" description:"allow running Docker commands (and build Docker images) from inside the container"`
+
+ // ForcePull describes if the controller should configure the build pod to always pull the images
+ // for the builder or only pull if it is not present locally
+ ForcePull bool `json:"forcePull,omitempty" description:"forces pulling of builder image from remote registry if true"`
}
// DockerBuildStrategy defines input parameters specific to Docker build.
