dapr / cli

Command-line tools for Dapr.
Apache License 2.0
314 stars 197 forks source link

Make imagePullPolicy configurable in dapr run -k #1410

Open joebowbeer opened 2 weeks ago

joebowbeer commented 2 weeks ago

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_