enix / kube-image-keeper

kuik is a container image caching system for Kubernetes
MIT License
447 stars 34 forks source link

Disable caching for some registries based on image URL #352

Closed Xanadjin closed 4 months ago

Xanadjin commented 4 months ago

How can I disable caching images for specific image registries?

For example; Private GCR repository is not supported for the moment - so I want to disable caching this specific registries Local hosted harbor images - so we don't need to cache those

paullaffitte commented 4 months ago

Hello,

You can use image filtering (.Values.webhook.ignoredImages). It is a list of regexps, so you can add a regex matching images from GCR.

Feel, free to re-open if you need more details.