-
Notifications
You must be signed in to change notification settings - Fork 48
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
Apply updates from operator-sdk helm-operator #63
Comments
FYI There is also this operator-framework/operator-sdk#4288 that was merged |
If possible, could you please also consider operator-framework/operator-sdk#4297 |
Thanks @mikeshng if there are any other Helm-related PRs that you're aware of, please post them. We're fairly confident that this repo has everything up to SDK v1.0.0. Our goal is to eventually replace the SDK helm-operator implementation with this one, and we want to make sure all the bug fixes and added features from the SDK repo make it here. |
Thanks @joelanford for all your help. Two PRs that I am less confident about and I am looking for your team's expert opinions on:
|
For operator-framework/operator-sdk#4288, is this just a defensive check, or is there actually a code path that results in a nil error and a nil |
I don't think operator-framework/operator-sdk#4358 is applicable here. In this repo, there is nothing that deletes releases from the storage backend outside of running through an uninstall. When a non-deployed release exists, it looks like this repo will attempt an upgrade rather than pre-deleting it and then attempting a clean install. If the last release is one of |
As I remember, I ran into a nil pointer in the old code. It was only doing:
So the primary goal of the fix was to avoid this nilpointer when As for the change |
Re: operator-framework/operator-sdk#4288 - It looks like this is also not applicable in this repo since the client returns the uninstall response and then the caller correctly checks for errors before assuming the embedded release field is valid. |
@joelanford if you have some cycles, could you please see my idea here and post a feedback message: https://lists.cncf.io/g/cncf-helm/message/351 |
@varshaprasad96 please review to see where we are with this, close when done. |
Uninstall bug: Bug fix: helm operator uninstall is not properly checking for existing release operator-sdk#3431uninstall.Run
without any pre-checks for the existence of the release.keep
resources: fix: (helm) - do not add owner references to resources that contain the Helm keep resource-policy annotation operator-sdk#4389Prevent nil pointer during uninstall: fix: (helm) - prevent a possible nil pointer in the helm uninstall operator-sdk#4288The text was updated successfully, but these errors were encountered: