cli icon indicating copy to clipboard operation
cli copied to clipboard

Make imagePullPolicy configurable in dapr run -k

Open joebowbeer opened this issue 1 year ago • 0 comments

https://github.com/dapr/cli/blob/4881ca11d7f0ab70217761d93834df0139625dc7/pkg/kubernetes/run.go#L300

imagePullPolicy is hardcoded to Always. Can this be configurable?

IfNotPresent is the k8s default except if tag is latest, and Never can be more appropriate for use with images that are built locally.

Originally posted by @joebowbeer in https://github.com/dapr/cli/pull/1333#discussion_r1645376543

joebowbeer avatar Jun 19 '24 04:06 joebowbeer