This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.3.7.2.3. インデックスイメージの作成
opm
CLI を使用してインデックスイメージを作成できます。
前提条件
-
opm
version 1.12.3+ -
podman
version 1.4.4+ - レジストリーにビルドされ、プッシュされるバンドルイメージ。
手順
新しいインデックスを開始します。
opm index add \ --bundles quay.io/<namespace>/test-operator:v0.1.0 \ --tag quay.io/<namespace>/test-catalog:latest \ [--binary-image <registry_base_image>]
$ opm index add \ --bundles quay.io/<namespace>/test-operator:v0.1.0 \
1 --tag quay.io/<namespace>/test-catalog:latest \
2 [--binary-image <registry_base_image>]
3 Copy to Clipboard Copied! Toggle word wrap Toggle overflow インデックスイメージをレジストリーにプッシュします。
podman push quay.io/<namespace>/test-catalog:latest
$ podman push quay.io/<namespace>/test-catalog:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow