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