docs: Document helm push --oci-strict-version flag#2177
Draft
promptless-for-oss wants to merge 1 commit into
Draft
docs: Document helm push --oci-strict-version flag#2177promptless-for-oss wants to merge 1 commit into
promptless-for-oss wants to merge 1 commit into
Conversation
Add a subsection to the OCI registries topic explaining the --oci-strict-version flag for helm push, which derives the OCI tag from the canonical strict-semver representation of the chart version so the tag round-trips through helm pull. Refs helm/helm#32349 Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
| As of version v0.10.0, the plugin has been renamed to `cm-push`. | ||
|
|
||
| #### Publishing non-strict-semver versions | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Documented the new --oci-strict-version flag from PR #32349. The flag name, default (false), and help text ("derive the OCI tag from the parsed/sanitized semver representation of the chart version") come from f.BoolVar in pkg/cmd/push.go; the tag-derivation via semver.NewVersion(...).String() (e.g. v1.2.3 → 1.2.3) is in resolveOCITagVersion in pkg/pusher/ocipusher.go. The pull-side asymmetry the flag addresses — helm pull discards non-strict-semver tags via semver.StrictNewVersion() in pkg/registry/client.go — informed the "silently skipped" explanation.
Source: helm/helm#32349
3 tasks
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 a "Publishing non-strict-semver versions" subsection to the OCI-based registries topic. It explains the new
--oci-strict-versionflag onhelm push, which derives the OCI tag from the canonical strict-semver representation of the chart version (e.g.v1.2.3→1.2.3) so pushed tags round-trip throughhelm pull. Based on helm/helm#32349 (open, unmerged).Trigger Events
Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡