Skip to content
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

Helm: fix misleading "release not found" errors during CR deletion #2359

Merged
merged 3 commits into from
Jan 6, 2020

Conversation

joelanford
Copy link
Member

Description of the change:
When reconciling deleted Helm operator CRs, wait for the CR to be deleted from the cache before returning. Also improve the error handling to take advantage of Helm v3's new ErrReleaseNotFound

Motivation for the change:
Closes #2342

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 2, 2020
@joelanford joelanford added language/helm Issue is related to a Helm operator project kind/bug Categorizes issue or PR as related to a bug. labels Jan 2, 2020
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shows fine.
Just a nit. It is missing the Changelog entry :-)

Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 6, 2020
@joelanford joelanford merged commit 49b53b0 into operator-framework:master Jan 6, 2020
@joelanford joelanford deleted the helm-uninstall-bug branch January 6, 2020 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. language/helm Issue is related to a Helm operator project lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Helm CR deletion sometimes results in "release not found" error.
5 participants