Document digest field for OCI chart dependencies#2115
Open
promptless-for-oss wants to merge 3 commits into
Open
Document digest field for OCI chart dependencies#2115promptless-for-oss wants to merge 3 commits into
promptless-for-oss wants to merge 3 commits into
Conversation
Document the new digest field for Chart.yaml dependencies, which allows specifying SHA256 digests for OCI-based chart dependencies instead of relying on mutable version tags. Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
| ``` | ||
| This will fetch `oci://localhost:5000/myrepo/mychart:2.7.0` when `dependency update` is executed. | ||
|
|
||
| ### Specifying dependencies with digest |
Contributor
Author
There was a problem hiding this comment.
Added the digest field documentation based on PR #32142 which adds OCI digest tracking support for Helm v4 dependencies. The PR adds a Digest field to internal/chart/v3/dependency.go and modifies pkg/downloader/manager.go to construct URLs with @sha256: when a digest is specified.
Source: helm/helm#32142
| - name: The name of the chart (nginx) | ||
| version: The version of the chart ("1.2.3") | ||
| repository: (optional) The repository URL ("https://example.com/charts") or alias ("@repo-name") | ||
| digest: (optional) The SHA256 digest for OCI dependencies, used instead of version tag for immutable references |
Contributor
Author
There was a problem hiding this comment.
Added digest field to the Chart.yaml dependency documentation based on PR #32142 which adds the Digest field to the v3 chart schema in internal/chart/v3/dependency.go.
Source: helm/helm#32142
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Adds documentation for the new
digestfield in Chart.yaml dependencies, which enables specifying SHA256 digests for OCI-based chart dependencies. This provides immutable references for reproducible builds and supply chain security.Trigger Events
Tip: See how your feedback shapes Promptless in Agent Knowledge Base 🧠