Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Log and return early if release is not upgradable #2008

Merged
merged 1 commit into from
May 2, 2019

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented May 2, 2019

Before this change the operator would follow the installation path if
a Helm release was not in a 'DEPLOYED' state, which would fail later on
as a release with the name already existed.

We now detect what the state of the release is and return (and log)
a descriptive error message in case we can not upgrade the release.

@hiddeco hiddeco added helm UX In pursuit of a delightful user experience labels May 2, 2019
@hiddeco hiddeco force-pushed the helm/do-not-attempt-install-on-release-failure branch from b83925a to 82a9ffe Compare May 2, 2019 15:46
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

LGTM 🥝

Before this change the operator would follow the installation path if
a Helm release was not in a 'DEPLOYED' state, which would fail later on
as a release with the name already existed.

We now detect what the state of the release is and return (and log)
a descriptive error message in case we can not upgrade the release.
@hiddeco hiddeco force-pushed the helm/do-not-attempt-install-on-release-failure branch from 82a9ffe to 886048d Compare May 2, 2019 15:55
@hiddeco hiddeco merged commit 6e17022 into master May 2, 2019
@hiddeco hiddeco deleted the helm/do-not-attempt-install-on-release-failure branch May 2, 2019 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
helm UX In pursuit of a delightful user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants