Repository navigation
Closed
Description
Steps to reproduce:
# Optional, run test in a container
docker run --rm -it -w /root/test redhat/ubi9# in clean container environment
# 1. Install helm (and git, required by helm for plugin verification)
dnf -y install git
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4 | bash
# 2. Download and create gpg keyring from databus23.gpg
curl -fsSL https://github.com/databus23.gpg | gpg --dearmor > helm-diff-keyring.gpg
# 3. Download tar and prov
curl -LO https://github.com/databus23/helm-diff/releases/download/v3.15.13/helm-diff-linux-amd64.tgz
curl -LO https://github.com/databus23/helm-diff/releases/download/v3.15.13/helm-diff-linux-amd64.tgz.prov
# 4. Install offline version
helm plugin install helm-diff-linux-amd64.tgz --keyring helm-diff-keyring.gpgOutput:
Verifying plugin signature...
Error: plugin.yaml not found in expected directory /tmp/helm-plugin-extract-3045794961/helm-diff-linux-amd64: stat /tmp/helm-plugin-extract-3045794961/helm-diff-linux-amd64/plugin.yaml: no such file or directory
Additional info:
# The following works, but with --verify=false
# (Run steps 1-3 above)
# Rename the file diff.tgz
# The diff.tgz has a diff/ directory; renaming it now matches what helm expects
mv helm-diff-linux-amd64.tgz diff.tgz
# works
# but the provenance file wants it to be called helm-diff-linux-amd64.tgz so we must --verify=false
helm plugin install diff.tgz --verify=false
helm plugin list # note "mismatched provenance"NAME VERSION TYPE APIVERSION PROVENANCE SOURCE
diff 3.15.13 cli/v1 legacy mismatched provenance unknown
# The following works, but not from an offline install
# (Run steps 1-3 above)
helm plugin install https://github.com/databus23/helm-diff/releases/latest/download/helm-diff-linux-amd64.tgz --verify --keyring helm-diff-keyring.gpg
helm plugin listVerifying plugin signature...
Signed by: Fabian Ruff (helm-diff release key) <[email protected]>
Using Key With Fingerprint: C5645EF47482257A1F806D2BEA17A2A206AFF8CD
Plugin Hash Verified: sha256:c004219c405e5be665e0b573378cf07f0182f2da7466a4c5a580a3c7162e7ae8
Binary already present at /root/.local/share/helm/plugins/helm-diff-linux-amd64/bin/diff, skipping download
NAME VERSION TYPE APIVERSION PROVENANCE SOURCE
diff 3.15.13 cli/v1 legacy unknown unknown
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Offline install not working in helm 4[/-][+]Offline install not working in helm 4 unless you --verify=false[/+]matthew-pakulski commentedon Sep 11, 2026
Nevermind, I can't read the instructions. This was what I was missing:
Though, I wonder if this could be improved upon still to work like I originally had thought it should. Installing from a directory is meant for development mode, and doesn't perform the checks that --verify does.
yxxhero commentedon Sep 11, 2026
@matthew-pakulski got it.
fix: make release tarballs installable offline by helm 4 (databus23#1072
fix: restore diff/ tarball layout so existing installs can update (#1077