A little tool that will construct an OCI image archive from a set of Kubernetes manifests.
Add my apt repository to your system.
Then install airgapify:
Currently packages are only published for Debian 12 (Bookworm).
sudo apt update
sudo apt install airgapify
Download statically linked binaries from the GitHub releases page:
To create an OCI image archive from a directory containing Kubernetes manifests:
airgapify -f manifests/ -o images.tar
You can then load the image archive into containerd:
ctr image import images.tar
Airgapify will look in the manifests for a Config YAML resource. An example is provided in examples/config.yaml.
The config resource allows you to specify additional images to include in the archive, and allows configuring image reference extraction for custom resources.
By default airgapify gathers anonymous crash and usage statistics. This anonymized
data is processed on our servers within the EU and is not shared with third
parties. You can opt out of telemetry by setting the DO_NOT_TRACK=1
environment variable.