Harness Helm Charts Provenance
Harness Helm charts are now signed to ensure they are secure and trustworthy.
Starting with version 0.24.0, you can verify the integrity and origin of the charts using GPG keys with Helm's provenance feature.
How to Verify Signed Helm Charts
Step 1: Install GnuPG
First, ensure you have GnuPG installed to handle the GPG keys.
apk add --no-cache gnupgStep 2: Import the GPG Public Key
Import the Harness public key used to sign the charts. This key will be used to verify the signature.
gpg --keyserver hkps://keys.openpgp.org --receive-keys '6117ED4CA5F4605DBF4353F41F6E943934E6D138'Step 3: Convert Keyring to Legacy Format
Convert the GPG keyring to a legacy format to be recognized by Helm provenance verification.
gpg --export >~/.gnupg/pubring.gpg
gpg --export-secret-keys >~/.gnupg/secring.gpgStep 4: Verify the Helm Chart
Helm charts can be verified by downloading the chart or pulling it from the Helm repository.
a. Verify Downloaded Chart
Download the Helm chart and its corresponding provenance file from the GitHub releases page (*.tgz and *.tgz.prov under Assets).
b. Verify Using Helm Repository
Add the Harness Helm repository:
Update the Helm repository:
Pull the chart and verify it with the specified chart version:
Step 5: Successful Verification
A successful verification will display output similar to the following:
Last updated
Was this helpful?