mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
55 lines
1.9 KiB
Plaintext
55 lines
1.9 KiB
Plaintext
:_mod-docs-content-type: ASSEMBLY
|
|
[id="cli-opm-ref"]
|
|
= opm CLI reference
|
|
include::_attributes/common-attributes.adoc[]
|
|
:context: cli-opm-ref
|
|
|
|
toc::[]
|
|
|
|
The `opm` command-line interface (CLI) is a tool for creating and maintaining Operator catalogs.
|
|
|
|
.`opm` CLI syntax
|
|
[source,terminal]
|
|
----
|
|
$ opm <command> [<subcommand>] [<argument>] [<flags>]
|
|
----
|
|
|
|
[WARNING]
|
|
====
|
|
The `opm` CLI is not forward compatible. The version of the `opm` CLI used to generate catalog content must be earlier than or equal to the version used to serve the content on a cluster.
|
|
====
|
|
|
|
.Global flags
|
|
[options="header",cols="1,3"]
|
|
|===
|
|
|Flag |Description
|
|
|
|
|`-skip-tls-verify`
|
|
|Skip TLS certificate verification for container image registries while pulling bundles or indexes.
|
|
|
|
|`--use-http`
|
|
|When you pull bundles, use plain HTTP for container image registries.
|
|
|
|
|===
|
|
|
|
:FeatureName: The SQLite-based catalog format, including the related CLI commands,
|
|
include::snippets/deprecated-feature.adoc[]
|
|
|
|
include::modules/opm-cli-ref-generate.adoc[leveloffset=+1]
|
|
include::modules/opm-cli-ref-index.adoc[leveloffset=+1]
|
|
|
|
ifndef::openshift-rosa,openshift-dedicated[]
|
|
[role="_additional-resources"]
|
|
.Additional resources
|
|
|
|
* xref:../../operators/understanding/olm-packaging-format.adoc#olm-file-based-catalogs_olm-packaging-format[Operator Framework packaging format]
|
|
* xref:../../operators/admin/olm-managing-custom-catalogs.adoc#olm-managing-custom-catalogs-fb[Managing custom catalogs]
|
|
* xref:../../installing/disconnected_install/installing-mirroring-disconnected.adoc#installing-mirroring-disconnected[Mirroring images for a disconnected installation using the oc-mirror plugin]
|
|
endif::openshift-rosa,openshift-dedicated[]
|
|
|
|
include::modules/opm-cli-ref-init.adoc[leveloffset=+1]
|
|
include::modules/opm-cli-ref-migrate.adoc[leveloffset=+1]
|
|
include::modules/opm-cli-ref-render.adoc[leveloffset=+1]
|
|
include::modules/opm-cli-ref-serve.adoc[leveloffset=+1]
|
|
include::modules/opm-cli-ref-validate.adoc[leveloffset=+1]
|