-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pkg/helm,hack/tests: slim down release information in Helm CR status #1309
pkg/helm,hack/tests: slim down release information in Helm CR status #1309
Conversation
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.
0f8fa22
to
c6f9a42
Compare
/cc @lilic @AlexNPavel @hasbro17 @estroz Please review when you get a chance 🙂 |
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.
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
New changes are detected. LGTM label has been removed. |
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.