Skip to content

Image Inventory Controller

Kubernetes controller for container image inventory. Materializes referenced images as namespaced Image custom resources (spec.image + status.kinds).

kubectl get images -n payments
NAMESPACE   NAME                                   IMAGE                         KINDS
payments    docker-io-library-redis-7-4-a1b2c3d4   docker.io/library/redis:7.4   Deployment,Pod

API group imageinventory.io · version v1alpha1 · reference-only inventory.

Overview

flowchart LR
  T["Deploy / STS / DS / Job / CronJob"] --> C["Controller"]
  P["Pods (naked + ephemeral)"] --> C
  C --> CR["Image CRs"]
Without With
jq / scripts over Pods kubectl get images
Ad-hoc inventory Controller-owned CRs

Out of scope: live heat maps, digests, object-name graphs, CVE/SBOM scanners. Same image in two namespaces → two CRs.

Install

kubectl apply -f https://github.com/codenio/image-inventory-controller/releases/latest/download/install.yaml

See Install for pinning, from-source builds, configuration, and uninstall.

Next