Skip to content

Conversation

@iamsudip
Copy link
Contributor

No description provided.

@iamsudip iamsudip force-pushed the main branch 2 times, most recently from 684b67a to 64fd609 Compare October 30, 2025 11:33
Signed-off-by: iamsudip <[email protected]>
Signed-off-by: iamsudip <[email protected]>
Signed-off-by: iamsudip <[email protected]>
if len(releases) == 0 {
return fmt.Sprintf("No history found for release %s", name), nil
}
if max > 0 && len(releases) > max {
Copy link
Contributor Author

@iamsudip iamsudip Oct 30, 2025

Choose a reason for hiding this comment

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

I had to do it manually here cause helm cli also does same, the history object has a field Max, but that is still not used in history.Run() method to limit the result. So we fetch all, limit on client side to mimic the same behaviour of cli.

@iamsudip
Copy link
Contributor Author

iamsudip commented Oct 30, 2025

@manusa @ardaguclu Please review!

@manusa manusa self-requested a review October 30, 2025 14:39
@manusa
Copy link
Member

manusa commented Oct 31, 2025

@manusa @ardaguclu Please review!

Don't worry, we'll look into it.
Overall seems fine, I think that you didn't generate the README descriptions by using make update-readme-tools though.

One of the things we want to consider is if we want to keep having helm as part of the default toolsets or make it opt-in instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants