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

pkg/helm,hack/tests: slim down release information in Helm CR status #1309

Merged

Conversation

joelanford
Copy link
Member

Description of the change:

This PR removes the full release status from the status condition and adds a new deployedRelease field on the top level status that contains just the release name and manifest.

This PR also removes code that syncs the release state from the status condition to the storage backend, which was leftover from when the Helm operator used the in-memory backend. Now that the CR status does not contain the full release state, there is nothing to sync.

Motivation for the change:

With the Helm storage backend moved to in-cluster secrets, it is no longer necessary to store the full release state on the CR status. This change will de-clutter the CR status to make it easier for users to find what they're looking for.

@joelanford joelanford added kind/feature Categorizes issue or PR as related to a new feature. language/helm Issue is related to a Helm operator project labels Apr 10, 2019
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 10, 2019
With the Helm storage backend moved to in-cluster secrets, it is no
longer necessary to store the full release state on the CR status.
This commit removes the full release status from the status condition
and adds a new "deployedRelease" field on the top level status that
contains just the release name and manifest.
@joelanford
Copy link
Member Author

/cc @lilic @AlexNPavel @hasbro17 @estroz

Please review when you get a chance 🙂

Copy link
Contributor

@AlexNPavel AlexNPavel left a comment

Choose a reason for hiding this comment

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

LGTM

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 Apr 23, 2019
Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@lilic lilic 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 removed the lgtm Indicates that a PR is ready to be merged. label Apr 25, 2019
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@joelanford joelanford merged commit 28f4c21 into operator-framework:master Apr 25, 2019
@joelanford joelanford deleted the helm-remove-release-state branch April 25, 2019 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. language/helm Issue is related to a Helm operator project 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.

None yet

6 participants