Last active
June 14, 2022 08:39
-
-
Save flavianmissi/ffbf0c2fe3e1a46026db639a913fa72e to your computer and use it in GitHub Desktop.
List all bundles within an operator catalog source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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