operator-framework / kubectl-operator

Manage Kubernetes Operators from the command line
https://operatorframework.io/
Apache License 2.0
128 stars 37 forks source link

Return only found PackageManifests #78

Closed cdjohnson closed 1 year ago

cdjohnson commented 1 year ago

Fixing:

kubectl-operator describe myoperator
package "" does not have a default channel
joelanford commented 1 year ago

/lgtm /approve

I noticed that passing a non-existent package name results in a "index out-of-range" panic (not caused by this PR). So let's get this merged, and then I'll make a follow-up to fix the panic.

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdjohnson, joelanford

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/operator-framework/kubectl-operator/blob/main/OWNERS)~~ [joelanford] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment