Skip to content

Show if more search results are present #31617

Closed as not planned
Closed as not planned

Description

@karuppiah7890

What would you like to be added?

When listing releases, currently a default max limit is set if no max limit is mentioned. This is a good practice, yes, since showing too much data can be overwhelming and also time consuming and also just too much data and less clarity. But, At first sight, who doesn't know about the max limit, it feels like there are only the shown amount of releases, though there maybe more. So, it's better to show if the results were truncated to fit into the max limit so that the user knows that there are more and that there's no bug in helm causing it to show only some of the releases while asking for all using something like helm ls --all-namespaces

Why is this needed?

This is needed just for clarity so that the user is not surprised and think that their release is missing when checking using helm ls but they can see helm release data present as Kubernetes secret - causing the user to think if there's a bug in helm

Activity

  1. added
    help wanted
    on Feb 10, 2026
  2. john-weathers commented on Feb 18, 2026

    @john-weathers

    I'd like to take this issue on, if it's not already being worked on.

  3. TerryHowe commented on Feb 22, 2026

    @TerryHowe
    Contributor

    I'd like to take this issue on, if it's not already being worked on.

    I'm not aware of anyone working on this, a PR would be welcome

  4. john-weathers commented on Feb 22, 2026

    @john-weathers

    I'm not aware of anyone working on this, a PR would be welcome

    Sounds good, I'll work on creating a PR.

  5. added a commit that references this issue on Feb 27, 2026
    66aa579
  6. abhay1999 commented on Apr 5, 2026

    @abhay1999
    Contributor

    Hi all, I’d be happy to work on this if it’s still available.

    I noticed @john-weathers mentioned on February 22, 2026 that they planned to open a PR, so I don’t want to step on ongoing work. If there isn’t an active PR in progress, I’d be glad to pick this up.

    My proposed approach would be:

    • keep the current default --max behavior

    • detect when helm list output has been truncated because more results exist than were displayed

    • show a short note in the human-readable/table output, for example:

      Showing 256 of 340 releases. Use --max and --offset to page through more results.

    I’d likely implement this by:

    • adding truncation metadata in the list action layer, since the command currently only receives the sliced results
    • printing the notice only for table output
    • leaving JSON/YAML output unchanged to avoid breaking scripts
    • adding CLI tests / golden updates for the truncated case

    If that direction sounds good, I can open a PR.

  7. john-weathers commented on Apr 6, 2026

    @john-weathers

    Hi @abhay1999, I have a PR that is currently in review. It has one approval, so I'm just waiting on an additional review at this time.

  8. abhay1999 commented on Apr 6, 2026

    @abhay1999
    Contributor

    Okayy

  9. github-actions commented on Jul 6, 2026

    @github-actions

    This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalefeaturehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions