Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] add PullPolicy flag / option #54

Closed
alexellis opened this issue Feb 24, 2020 · 1 comment
Closed

[Feature] add PullPolicy flag / option #54

alexellis opened this issue Feb 24, 2020 · 1 comment
Labels

Comments

@alexellis
Copy link
Member

alexellis commented Feb 24, 2020

[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:

git init
git add .
git commit -m "Change"
faas-cli up --tag=sha

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

@alexellis
Copy link
Member Author

Fixed in: https://github.com/openfaas/faasd/releases/tag/0.8.0

This is now the default behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant