-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issue 439: Post upgrade script for helm upgrades #440
Conversation
Codecov Report
@@ Coverage Diff @@
## master #440 +/- ##
==========================================
- Coverage 76.11% 76.02% -0.10%
==========================================
Files 14 14
Lines 3320 3328 +8
==========================================
+ Hits 2527 2530 +3
- Misses 705 710 +5
Partials 88 88
Continue to review full report at Codecov.
|
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
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
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.
This LGTM!
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
Signed-off-by: SrishT <[email protected]>
88d75fc
to
0f2d68b
Compare
Signed-off-by: SrishT [email protected]
Change log description
After upgrading pravega operator from 0.4.5 to 0.5.x via helm, the helm release corresponding to the
PravegaCluster
resource is not updated and a separate helm release is not created corresponding to the newly createdBookkeeperCluster
resource. Due to this, no further helm operations can be done on the pravega and bookkeeper clusters post the operator upgrade.Purpose of the change
Fixes #439
What the code does
Upgrades the helm release corresponding to the
PravegaCluster
resource and creates a separate helm release corresponding to the newly createdBookkeeperCluster
resource, after pravega operator is upgraded from 0.4.5 to 0.5.x via helm.How to verify it
After the operator upgrade completes, run the post-upgrade script in the following way
After this script executes successfully, helm upgrade and helm uninstall on the pravega and bookkeeper releases will also succeed.