Skip to content

Instantly share code, notes, and snippets.

@flavianmissi
Last active June 14, 2022 08:39
Show Gist options
  • Save flavianmissi/ffbf0c2fe3e1a46026db639a913fa72e to your computer and use it in GitHub Desktop.
Save flavianmissi/ffbf0c2fe3e1a46026db639a913fa72e to your computer and use it in GitHub Desktop.
List all bundles within an operator catalog source
# before running the below, make sure to run the container with your operator index
# (aka catalog)
docker run -ti --rm -p 50052:50051 quay.io/you/your-catalog:tag
# note: you'll want to change the packageName value in the jq select filter
grpcurl -plaintext localhost:50052 api.Registry.ListBundles | \
jq 'select(.packageName == "quay-bridge-operator") | { csvName: .csvName, channelName: .channelName, version: .version, skips: .skips, skipRange: .skipRange, replaces: .replaces }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment