generate-embed

command
v1.3.0-test Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

generate-embed is the build-time manifest generator for flightctl-mirror-images.

It reads the seven source data files, fully resolves the per-variant image and RPM lists (merging helm-chart-opts.yaml with per-variant images.yaml, filtering observability-only images, deduplicating), and writes a Go source file to stdout containing the resulting JSON-encoded manifest as a []byte variable that is compiled into the binary.

Usage (called by "make generate-mirror-embed"):

go run ./scripts/air-gap/generate-embed/ \
    deploy/helm/helm-chart-opts.yaml \
    deploy/helm/flightctl/Chart.yaml \
    packaging/images/el9/images.yaml \
    packaging/images/el10/images.yaml \
    packaging/images/rhel9/images.yaml \
    packaging/images/rhel10/images.yaml \
    packaging/rpm/flightctl.spec

Jump to

Keyboard shortcuts

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