mirror-images

command
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by scripts/air-gap/generate-embed. DO NOT EDIT. Run "make generate-mirror-embed" to regenerate.

embeddedBuildManifest contains the fully-resolved image and RPM lists for all supported variants. It is produced at build time from source files in the flightctl repository so the binary is self-contained when installed via RPM.

Known limitations:

  • The embedded image set is version-pinned to build time. --tag-override changes which tag is mirrored but cannot change which images are included.
  • To pre-stage images for an upcoming upgrade before it is installed, either install the target version's flightctl-cli RPM, or set MIRROR_MANIFEST to a manifest produced from that version's source tree.
  • Custom image configurations require a custom manifest (MIRROR_MANIFEST).

flightctl-mirror-images enumerates all RHEM container images for a given chart variant and generates skopeo copy commands suitable for an air-gapped installation.

Usage

./flightctl-mirror-images --variant <variant> --dest-registry <host:port> [--execute]

How it works

All image and RPM data is resolved at build time by "make generate-mirror-embed" (see scripts/air-gap/generate-embed/) and compiled into the binary. The runtime tool simply reads the pre-resolved manifest, applies --tag-override if requested, and generates skopeo commands — no source checkout or data files required.

To use a custom manifest (e.g. to pre-stage images for a future release):

MIRROR_MANIFEST=/path/to/custom-manifest.json flightctl-mirror-images --variant rhem-el9 ...

Stories

EDM-3957  CLI scaffold and argument parsing
EDM-3958  Parse helm-chart-opts.yaml and generate skopeo commands
EDM-3959  Parse observability images from packaging/images/*/images.yaml
EDM-3960  Generate artifact manifest YAML

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL