Catalog queries
You can use the curl
command with jq
to query catalogs that are installed on your cluster.
Package queries
- Available packages in a catalog
- Packages that support
AllNamespaces
install mode and do not use webhooks -
jq -c 'select(.schema == "olm.bundle") | {"package":.package, "version":.properties[] | select(.type == "olm.bundle.object").value.data | @base64d | fromjson | select(.kind == "ClusterServiceVersion" and (.spec.installModes[] | select(.type == "AllNamespaces" and .supported == true) != null) and .spec.webhookdefinitions == null).spec.version}'
- Package metadata
- Catalog blobs in a package
Channel queries
- Channels in a package
- Versions in a channel
- Latest version in a channel and upgrade path
Bundle queries
- Bundles in a package
- Bundle dependencies and available APIs