enix / kube-image-keeper

kuik is a container image caching system for Kubernetes
MIT License
431 stars 31 forks source link

Upgrading from 1.6 to 1.8 is not caching our own docker images #328

Closed guy-frontegg closed 3 months ago

guy-frontegg commented 3 months ago

Hello All,

First of all, great job.

I have an issue after upgrading from 1.6 to 1.8. For some reason, Kuik does not provide our own images from DockerHub. (Images with imagePullPolicy: Always)

I can see this message for example 2024-05-12T18:19:05.672Z INFO webhook.pod rewriting pod images {"rewrittenImages": [{"Original":"frontegg/signals-service:master-latest","Rewritten":"","NotRewrittenBecause":"container is configured with imagePullPolicy: Always"}]}

I am guessing it's some kind of configuration that changed yet all other images (like mongo) are working as expected.

Thank you

guy-frontegg commented 3 months ago

is this what has changed ? controllers.webhook.ignorePullPolicyAlways to false