edbctl image
This command helps managing the images for HM. With this command you can sync container images from EDB's repository to a local registry and manage artifacts for internet-disconnected OpenShift environments.
Commands
edbctl image
command has following options available:
- edbctl image create-image-set-config-for-oc-mirror — Create an AssetSetConfiguration YAML file for internet-disconnected OpenShift environments.
- edbctl image list-image-tags — Display a list of all the available images for provisioning.
- edbctl image sync-to-local-registry — Sync container images from EDB Repos 2.0 to a local registry.
edbctl image create-image-set-config-for-oc-mirror
Generates an AssetSetConfiguration YAML file for OpenShift environments without internet access. The file allows oc mirror to create a local tarball containing all container images for a specified Hybrid Control Plane release.
edbctl image create-image-set-config-for-oc-mirror [options]
Where options
are,
--source-registry-username string Source registry username (required). The username for authenticating with the source registry. --source-registry-password string Source registry password (required). The password for authenticating with the source registry. --version string Hybrid Control Plane release version (required). Specify the version of the release to sync. --output-file-path string Output YAML file path (optional). Defaults to 'ImageSetConfiguration.yaml' in the current directory. -h, --help help for create-image-set-config-for-oc-mirror
This example shows how to create an AssetSetConfiguration YAML file for OpenShift environment
edbctl image create-image-set-config-for-oc-mirror --source-registry-username <username> --source-registry-password <password> --version <version> [--output-file-path <output-file-path>]
edbctl image list-image-tags
Retrieves and displays a list of all available image tags used for provisioning. The output includes detailed metadata for each image tag, such as:
- Image tag ID
- Name
- SHA
- Version
- Compressed size
- Architecture
- Creation time
- Ingestion time
- Location
- Associated tags
edbctl image list-image-tags [options]
Where options
are
--location-id string Location ID (required). Specify the location ID to filter images. --pg-type string Filter images by Postgres Type. ex: 'epas', 'postgres', 'pgextended'. --major-version string Filter images by major version. ex: '17', '16'. --pg-architectures string Filter images by cluster architectures. ex: 'pgd', 'aha', 'psr', 'analytics'. -c, --credential string The credential which you created via 'credential create' command, the default is fetched from 'context_credential' -o, --output string [table json yaml xml] (default "table") -h, --help help for list-image-tags
This example shows how to list the image:
edbctl image list-image-tags --location-id "managed-devspatcher"
edbctl image sync-to-local-registry
Syncs container images from EDB Repos 2.0 to a local registry for managing a local Hybrid Control Plane installation.
edbctl image sync-to-local-registry [options]
Where options
are,
--source-registry-username string Source registry username (required). --source-registry-password string Source registry password (required). --destination-registry-uri string Destination registry URI (required). --destination-registry-username string Destination registry username (required). --destination-registry-password string Destination registry password (required). --version string Hybrid Control Plane release version (required). --sign-by-sigstore-private-key string Path to the Sigstore private key. --sign-passphrase-file string Path to the file containing the passphrase for the Sigstore private key. -y, --yes auto-confirm all confirmations -h, --help help for sync-to-local-registry
This example shows how to sync the EDB Repo 2.0 to the local registry:
edbctl image sync-to-local-registry --source-registry-username <username> --source-registry-password <password> --destination-registry-uri <registry> --destination-registry-username <username> --destination-registry-password <password> --version <version>
- On this page
- Commands
Could this page be better? Report a problem or suggest an addition!