A listing of all channel entries was added in a recent version of the packagemanifests API. If the length of the list is 0, that means we're on an older version of the API, so we'll fall back to the previous behavior of just guessing a CSV name.
With the updated packagemanifests API, we can iterate the list of entries and find the startingCSV, and error out if the specified version is not found.
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
A listing of all channel entries was added in a recent version of the packagemanifests API. If the length of the list is 0, that means we're on an older version of the API, so we'll fall back to the previous behavior of just guessing a CSV name.
With the updated packagemanifests API, we can iterate the list of entries and find the startingCSV, and error out if the specified version is not found.
Closes #2
Signed-off-by: Joe Lanford joe.lanford@gmail.com