Closed withinboredom closed 2 years ago
Just discovered #1748 which fixes the dev images:
patches:
- op: replace
path: spec.containers[0].imagePullPolicy
value: Always
And that args can be passed to buildkit, seems to work.
Hopefully, this will help other people who didn't RTFM.
Is your feature request related to a problem?
Yes
Which solution do you suggest?
Usually, dev/base images (at least in my experience) are not versioned, and tags receive regular security updates.
dev spaces
Currently, when dev spaces are deployed, they are deployed with
imagePullPolicy: IfNotPresent
which makes it very difficult to regularly apply security updates to a dev tag without changing (potentially) dozens of repositories and/or manually deleting the tag off the nodes.Manually updating the deployment to pull always causes sync to break or stop working.
base images
When building new images,
--pull
is not passed. This means if a base image receives a security update, the developer will not get them, and then deploy that image to a cluster.Which alternative solutions exist?
docker system prune --all --volumes
locally to get the latest base images if you want to build them.Additional context
/kind feature