Force imagePullPolicy to Always
Right now it's defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Which very confusing, especialy if you switch from :latest to some tag and wonder why your images are not updated. Change-Id: I2cdc0817c2b4e8c95993b5eae44ffff26acd7662
This commit is contained in:
@@ -119,6 +119,7 @@ def serialize_daemon_container_spec(container):
|
||||
cont_spec = {
|
||||
"name": container["name"],
|
||||
"image": images.image_spec(container["image"]),
|
||||
"imagePullPolicy": "Always",
|
||||
"command": _get_start_cmd(container["name"]),
|
||||
"volumeMounts": serialize_volume_mounts(container),
|
||||
"readinessProbe": {
|
||||
|
||||
Reference in New Issue
Block a user