-
Notifications
You must be signed in to change notification settings - Fork 218
NE-2097: Add logic to upgrade OSSM Operator #1247
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
Open
alebedev87
wants to merge
13
commits into
openshift:master
Choose a base branch
from
alebedev87:gwapi-upgrade-ossm-next-ip
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
90dfdcd
NE-2097: Add logic to pick up next InstallPlan if desired version jum…
alebedev87 33121d6
NE-2097: Update Progressing/Degraded status logic to add OSSM operato…
alebedev87 9809106
NE-2097: Rebase status logic after conflicting OSSM subscription
alebedev87 f9a1852
NE-2097: Avoid installing past desired version
alebedev87 f61c62f
NE-2097: e2e - Add assertOSSMOperatorWithConfig/assertIstioWithConfig…
alebedev87 29f624a
NE-2097: e2e - Add TestOSSMOperatorUpgradeViaIntermediateVersions
alebedev87 1c4170b
NE-2097: e2e - Add cleanup helpers for GatewayAPI resources
alebedev87 6007467
NE-2097: e2e - Add assertCatalogSourceWithConfig helper
alebedev87 8d77506
NE-2097: e2e - Add custom catalog source
alebedev87 7236c98
e2e: Increase timeout for assertGatewaySuccessful to 10m
alebedev87 d322094
e2e: Add catalog source health check to assertSubscription
alebedev87 7cc8b51
e2e: Add assertInstallPlan helper function
alebedev87 1006dbe
[tmp] e2e: Log CSV status if OSSM deployment failed
alebedev87 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -180,6 +180,7 @@ rules: | |
| resources: | ||
| - subscriptions | ||
| - installplans | ||
| - clusterserviceversions | ||
| verbs: | ||
| - '*' | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I thought we would always fail if the specified version isn't found.
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.
Unfortunately it's not possible to find out whether the expected version is present in the upgrade graph. There is no OLM custom resource which conveys this information. So, the upgrade logic from this PR is pretty straightforward - it approves any next installplan assuming the expected version is there up the upgrade graph.
A related discussion with Joe Lanford: #1247 (comment).