Skip to content

Cannot install latest version #856

Closed

Description

@jvanz

I'm not able to install the latest version (v1.1.0):

$ helm plugin install https://github.com/helm-unittest/helm-unittest
failed to load plugins: failed to load plugin at "/home/jvanz/.local/share/helm/plugins/helm-unittest/plugin.yaml": error unmarshaling JSON: while decoding JSON: json: unknown field "platformHooks"
Error: plugin already exists

Activity

  1. Sartigan commented on May 6, 2026

    @Sartigan

    same

  2. alejandro-angulo commented on May 6, 2026

    @alejandro-angulo

    helm plugin install https://github.com/helm-unittest/helm-unittest --version 1.0.3 (latest tag) works for what it's worth (just a workaround)

  3. quintush commented on May 6, 2026

    @quintush
    Contributor

    Hello @jvanz ,

    Due to helm4 I made some preparations to have the plugin compatible to install as OCI.
    However there are still some issues so I'm currently updating the script to keep v1.0.3 as latest.

    The current workaround is indeed to pin the version, mentioned above.

    Sorry for blocking the flow.

    Greetings,
    @quintush

  4. jvanz commented on May 7, 2026

    @jvanz
    Author

    That's fine! Thanks for the feedback!

  5. josegonzalez commented on Jun 1, 2026

    @josegonzalez

    I see something similar but not quite the same:

    ❯ helm version
    version.BuildInfo{Version:"v4.2.0", GitCommit:"06468084e85c244c712834933d25ea232a4c2093", GitTreeState:"clean", GoVersion:"go1.26.3", KubeClientVersion:"v1.36"}
    
    ❯ helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false
    WARNING: Skipping plugin signature verification
    Support macos-arm64
    No version found
    Downloading https://github.com/helm-unittest/helm-unittest/releases/download/v1.1.0/helm-unittest-macos-arm64-1.1.0.tgz to location /tmp/_dist/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    100 22.4M  100 22.4M    0     0  16.2M      0  0:00:01  0:00:01 --:--:-- 22.1M
    found: ./_dist/helm-unittest-macos-arm64-1.1.0.tgz
    Validating Checksum.
    shasum: standard input: no properly formatted SHA checksum lines found
    Failed to install helm-unittest
    For support, go to https://github.com/helm-unittest/helm-unittest/blob/main/FAQ.md
    Error: plugin install hook for "unittest" exited with error
    

    Running the following works though, and properly outputs the plugin's description and exits 0 after installation:

    helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false --version=1.0.3
    
  6. quintush commented on Jun 2, 2026

    @quintush
    Contributor

    I see something similar but not quite the same:

    ❯ helm version
    version.BuildInfo{Version:"v4.2.0", GitCommit:"06468084e85c244c712834933d25ea232a4c2093", GitTreeState:"clean", GoVersion:"go1.26.3", KubeClientVersion:"v1.36"}
    
    ❯ helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false
    WARNING: Skipping plugin signature verification
    Support macos-arm64
    No version found
    Downloading https://github.com/helm-unittest/helm-unittest/releases/download/v1.1.0/helm-unittest-macos-arm64-1.1.0.tgz to location /tmp/_dist/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    100 22.4M  100 22.4M    0     0  16.2M      0  0:00:01  0:00:01 --:--:-- 22.1M
    found: ./_dist/helm-unittest-macos-arm64-1.1.0.tgz
    Validating Checksum.
    shasum: standard input: no properly formatted SHA checksum lines found
    Failed to install helm-unittest
    For support, go to https://github.com/helm-unittest/helm-unittest/blob/main/FAQ.md
    Error: plugin install hook for "unittest" exited with error
    

    Running the following works though, and properly outputs the plugin's description and exits 0 after installation:

    helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false --version=1.0.3
    

    Hello @josegonzalez

    The code to validate the checksum has not changed.
    Also the checksum file does contain a checksum related to the found distribution.
    As the old installation works, it could not be related to a different version of shasum.
    So my conclusion would be that the checksum file somehow got corrupted during download.

    Could you try to the uninstall the old plugin and make sure to also cleanup the cache and plugin folder.
    Running helm from command-line shows where to find the cache and plugin folder on the mac
    Using (old) script installation, helm will not cleanup the cache, resulting in reusing old downloads, which will not resolve the issue.

    Greetings,
    @quintush

  7. added this to the v1.1.1 milestone on Jun 5, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions