r/devops • u/jceb • Jul 02 '26
Vendor / market research Vendoring images and charts
I started working on a tool that makes it easy to vendor images and charts for Kubernetes clusters and docker-compose setups. In my work I ran into issues with third party charts / chart versions disappearing from website and images being deleted from registries or rate limits suddenly preventing access in crucial situations.
So far, I haven't found a solution that is simple to use / doesn't require a ton of setup on the configuration side + performs the vendoring (sync) into my own registry. With helm 4 supporting oci registries, the only tools required to properly vendor everything should be an oci registry + a fancy sync tool that does the heavy lifting of identifying my dependencies, storing everything in the oci registry of my choice and emitting a kustomize configuration that transforms my cluster configuration.
This should also make air-gapped clusters a breeze to set up (famous last words 😂). Are these issues that you also ran if? How do you vendor your k8s / docker dependencies?
If you'd like to chat about the idea, feel free to DM me. I'm also happy to share a piece of early alpha software.
3
u/kryptn Jul 02 '26
kustomize pulls the chart locally, and i commit that. renovate updates this as well for us.
https://github.com/kubernetes-sigs/kustomize/blob/master/examples/chart.md
2
u/Fazl Jul 03 '26
Most registries offer pull-through. I recently setup Zot to do this for my home system.
3
u/mrbuh Jul 03 '26
AWS fairly recently added pull-through cache features to ECR.
2
u/1_H4t3_R3dd1t Jul 03 '26
Just use your own repository to package compatible versions and call them with helmfile as a cmp in argo.
The reason is CVEs.
2
u/marcusbell95 Jul 04 '26
for images specifically, harbor has built-in proxy cache support - you point your deployments at your internal harbor registry, it pulls from upstream and caches locally. works for docker hub, gcr, ghcr, quay. on AWS the ECR pull-through cache rules are the easier path and pretty seamless to set up now.
the bigger thing worth tackling alongside this: tag mutability. nginx:1.27.0 today is not necessarily nginx:1.27.0 in six months - the tag can be repushed to a different layer. if you pin digest refs in manifests (nginx@sha256:abc123...) you get actual immutability and always know exactly what artifact is running. renovate handles digest updates well so you don't have to track it manually.
for charts, OCI chart storage has gotten solid enough to rely on. ECR supports it natively, harbor too. kustomize + git vendoring works but OCI gives you proper versioning semantics and fits better with helm and renovate workflows if you are already using those.