Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Ensure cached images are refreshed periodically #11

Merged
merged 1 commit into from
Aug 23, 2019

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

Instead of just checking daemonset health every CACHING_INTERVAL, instead recreate the deamonset to ensure each image is re-pulled. This is required for caching mutable image tags, such as latest or nightly.

Also changes "wait" operations to report if the channel is closed prematurely.

What issue does this PR resolve?

redhat-developer/rh-che#1549

Instead of just checking daemonset health every CACHING_INTERVAL,
instead recreate the deamonset to ensure each image is re-pulled. This
is required for caching mutable image tags, such as latest or nightly.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk amisevsk added the bug Something isn't working label Aug 22, 2019
@amisevsk amisevsk requested a review from ibuziuk August 22, 2019 20:55
@amisevsk amisevsk merged commit f235d2a into redhat-developer:master Aug 23, 2019
ibuziuk pushed a commit to ibuziuk/kubernetes-image-puller that referenced this pull request Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants