Skip to content

Multi type plugins #31500

Open
Open

Description

@jkroepke

What would you like to be added?

The old plugin system supports plugins with multiple feature, e.g. cli and getter at the same time:

With the new plugin system, a plugin can be only a CLI or a getter plugin, but not both at the same time.

It would be great, if plugins can be getter, CLI and post-renderer type at the same time.

Why is this needed?

Users should not need to install 3 plugins separately.

Activity

  1. banjoh commented on Nov 14, 2025

    @banjoh
    Contributor

    I see the appeal in having one plugin that can perform any of the plugin type duties. I'm not sure this can be done without breaking the current plugin spec though - https://helm.sh/docs/plugins/overview#pluginyaml

    Each plugin.yaml can be of one type only. This would be a future v2 plugin type

  2. jkroepke commented on Nov 14, 2025

    @jkroepke
    Author

    Not sure, if a break is necessary. It's sufficient to extend to current spec, for example by setup a new type, like type: generic/v1.

  3. mblaschke commented on Nov 26, 2025

    @mblaschke

    Have the same issue for https://github.com/webdevops/helm-azure-tpl/

    This is actually a breaking change as one plugin cannot handle both which was possible in Helm v3.

  4. mblaschke commented on Nov 27, 2025

    @mblaschke

    So currently there is no possible way to ship plugins which supports Helm3 and Helm4 with getters and cli.
    Either it breaks Helm3 completely (adding two plugins for Helm4 with the new format) or keep the old plugin structure and don't have cli support in Helm4.

  5. github-actions commented on Feb 26, 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.

  6. jkroepke commented on Feb 26, 2026

    @jkroepke
    Author

    Use cases are present.

  7. github-actions commented on May 28, 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.

  8. jkroepke commented on May 28, 2026

    @jkroepke
    Author

    Use cases are present.

  9. hypnoglow commented on May 29, 2026

    @hypnoglow

    Bumping this - hitting it as a maintainer of hypnoglow/helm-s3, which has the same cli + downloaders shape as helm-secrets. We've got #561 open with confirmed reports on Helm v4 (Error: unknown command "s3" for "helm").

    This is effectively a silent compatibility break of legacy plugins between Helm 3 and Helm 4, despite the v4 release notes' statement that legacy plugins are supported throughout v4.

    Empirical reproduction on Helm v4.2.0 with the helm-s3 plugin.yaml (containing both command: and downloaders:):

    $ helm plugin list
    NAME  VERSION  TYPE       APIVERSION  PROVENANCE  SOURCE
    s3    0.17.2   getter/v1  legacy      unknown     unknown
    
    $ helm s3 version
    Error: unknown command "s3" for "helm"
    
    $ helm pull s3://...     # getter side still works
    

    The same plugin.yaml worked end-to-end on Helm 3.x. So in practice the user-visible result is "your plugin's CLI silently disappears on helm upgrade," with no warning.

    I'd second @jkroepke's framing that an additive generic/v1 type, or simply having fromMetadataLegacy register two Metadata entries (one cli/v1, one getter/v1) when both fields are present in a legacy yaml, would be non-breaking for the spec and would restore the v3 behavior for the legacy code path only.

  10. zware commented on Jun 3, 2026

    @zware

    As a user of Helm with plugins, this is a huge headache in migrating to Helm v4. In order to do that migration, we need to have both v3 and v4 usable in the same environment, with the same plugins, and there's no nice way to do that right now1.

    Footnotes

    1. unless we just haven't found it, in which case please enlighten! :) ↩

  11. github-actions commented on Sep 2, 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.

  12. jkroepke commented on Sep 2, 2026

    @jkroepke
    Author

    Thanks for the info, bot.

  13. ruslan-shaydullin commented on Oct 13, 2026

    @ruslan-shaydullin
    Contributor

    I opened #32743 for the legacy part of this issue. Plugins without apiVersion that have a command and downloaders get their helm <name> command back and stay getter/v1. Multi-type v1 plugins are not covered.

    @jkroepke @hypnoglow could you try the branch with helm-secrets and helm-s3?

    git fetch https://github.com/ruslan-shaydullin/helm.git fix/legacy-plugin-downloader-cli
    git checkout FETCH_HEAD
    make build
    ./bin/helm plugin install https://github.com/hypnoglow/helm-s3.git --verify=false
    ./bin/helm s3 version
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions