Closed alexellis closed 4 years ago
[Feature] add PullPolicy flag / option
Some users prefer to use latest for their images and not to use differing tags, this feature would always pull an image even if it was available locally, in that way, they don't have to change the tag.
latest
Possible via:
git init git add . git commit -m "Change" faas-cli up --tag=sha
Or editing the tag
Add a configuration to the systemd unit file for the flag, and accept it via faas-cli install
faas-cli install
Pull code - https://github.com/openfaas/faasd/blob/master/pkg/provider/handlers/deploy.go#L78
Fixed in: https://github.com/openfaas/faasd/releases/tag/0.8.0
This is now the default behaviour.
[Feature] add PullPolicy flag / option
Expected Behaviour
Some users prefer to use
latest
for their images and not to use differing tags, this feature would always pull an image even if it was available locally, in that way, they don't have to change the tag.Current Behaviour
Possible via:
Or editing the tag
Possible Solution
Add a configuration to the systemd unit file for the flag, and accept it via
faas-cli install
Pull code - https://github.com/openfaas/faasd/blob/master/pkg/provider/handlers/deploy.go#L78