MAQPNADocs

maqpna airgap push

Copy a bundle's images into your registry

Operate-o json | yaml

Synopsis#

maqpna airgap push   DIR --registry REG [--dry-run]

Description#

From the help of maqpna airgap:

bundle runs hack/airgap-bundle.sh from a MAQPNA source checkout (--repo, default the current directory). verify exits 3 when a checksum, the signature (with --require-signature) or one of the 11 images fails. push copies every image of images.txt to REG with skopeo, crane or docker; then install with the bundle's hack/airgap-install.sh (SKIP_PUSH=1) or maqpna install.

Flags#

FlagTypeDescriptionDefault
--dry-runswitchprint the copies onlynone
--registrystringprivate registry and prefix, e.g. registry.eu.internal:5000/maqpna (required)none

The global flags (--context, -o, --no-color, ...) work with every command.

Examples#

maqpna airgap push bundle/ --registry registry.internal:5000

What happens when you run it#

  • --dry-run: print the copies only.
  • Prints a table by default; -o json or -o yaml print the data, and --jq EXPR filters the JSON.

Exit codes#

CodeMeaning
0success
1error (the message says what failed, with a hint when there is one)
2usage error: unknown flag, missing argument or bad value; the synopsis is printed
3a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command)

Terminal demo#

maqpna airgap push --help.cast

This command downloads signatures, images or charts from the network, so the recording shows its help.