-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify channels for previous versions of manifests #5062
Modify channels for previous versions of manifests #5062
Conversation
@emmajiafan this would solve https://bugzilla.redhat.com/show_bug.cgi?id=1979506&GoAheadAndLogIn=1. Tested with the following: Built bundles from pkgmanifests:
Used run-bundle with older versions: ➜ bundles git:(main) ✗ operator-sdk run bundle quay.io/vnarsing/ditto-operator:0.1.0 --timeout=6m
INFO[0037] Successfully created registry pod: quay-io-vnarsing-ditto-operator-0-1-0
INFO[0037] Created CatalogSource: ditto-operator-catalog
INFO[0037] OperatorGroup "operator-sdk-og" created
INFO[0037] Created Subscription: ditto-operator-v0-1-0-sub
INFO[0043] Approved InstallPlan install-lllsb for the Subscription: ditto-operator-v0-1-0-sub
INFO[0043] Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to reach 'Succeeded' phase
INFO[0043] Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to appear
INFO[0055] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Pending
INFO[0057] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Installing
INFO[0095] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Succeeded
INFO[0095] OLM has successfully installed "ditto-operator.v0.1.0" |
This needs to be cherry-picked to 1.8.x and 1.9.x |
Previously, the versions of manifests other than the latest version, used to have the channel as `candidate`. This caused errors while running the bundle. With this commit, the channels for those manifests would be the defaultchannel specified in package.yaml. Signed-off-by: varshaprasad96 <[email protected]>
9eba542
to
7d49ed0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
closing and reopening for ci |
I’d just merge this, netlify seems to be erroneously failing. |
/cherry-pick v1.9.x |
@varshaprasad96: new pull request created: #5067 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick v1.8.x |
@varshaprasad96: #5062 failed to apply on top of branch "v1.8.x":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Previously, the versions of manifests other than the latest version,
used to have the channel as
candidate
. This caused errorswhile running the bundle. With this commit, the channels for those
manifests would be the defaultchannel specified in package.yaml.
Signed-off-by: varshaprasad96 [email protected]
Motivation for the change:
Previous versions of pkgman bundles used to error.
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs