change image pull policy of builder manager (#793)
This changes image pull policy from Always to IfNotPresent. The previous policy forbid customer to use the exact image existing on K8S Node. And it should be OK to use fixed policy here. Customer need not set policy by their own.
This commit is contained in:
@@ -547,7 +547,7 @@ func (envw *environmentWatcher) createBuilderDeployment(env *crd.Environment, ns
|
||||
fission.MergeContainerSpecs(&apiv1.Container{
|
||||
Name: "builder",
|
||||
Image: env.Spec.Builder.Image,
|
||||
ImagePullPolicy: apiv1.PullAlways,
|
||||
ImagePullPolicy: apiv1.PullIfNotPresent,
|
||||
TerminationMessagePath: "/dev/termination-log",
|
||||
VolumeMounts: []apiv1.VolumeMount{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user