Skip to content

Correct HelmChart status.url description#2091

Closed
alliasgher wants to merge 1 commit into
fluxcd:mainfrom
alliasgher:fix-helmchart-url-description
Closed

Correct HelmChart status.url description#2091
alliasgher wants to merge 1 commit into
fluxcd:mainfrom
alliasgher:fix-helmchart-url-description

Conversation

@alliasgher

Copy link
Copy Markdown

The HelmChartStatus.URL doc-comment recommends consulting BucketStatus.Artifact, which belongs to the Bucket API, not HelmChart. The generated helmcharts CRD inherits this wrong reference in the status.url field description.

Point the comment at HelmChartStatus.Artifact in both api/v1 and api/v1beta2, and regenerate the CRD. Comment-only change with the regenerated manifest; no functional or schema-shape impact.

This is the source-controller portion of fluxcd/flux2#5941 (the image-reflector-controller and image-automation-controller findings in that issue live in their own repos).

Verified with make manifests fmt vet and the api module tests.

Assisted-by: Claude Code/claude-opus-4-8

The HelmChartStatus.URL doc-comment recommended using BucketStatus.Artifact, which belongs to the Bucket API. Point it at HelmChartStatus.Artifact in both v1 and v1beta2, and regenerate the HelmChart CRD.

Signed-off-by: alliasgher <alliasgher123@gmail.com>
Assisted-by: Claude Code/claude-opus-4-8
@matheuscscp matheuscscp added bug Something isn't working backport:release/v1.9.x To be backported to release/v1.9.x labels Jun 28, 2026

@matheuscscp matheuscscp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase and force-push after fixing the comments 🙏 Don't use the "merge main" button


// +genclient
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=hc

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line from the v1beta2 file

// URL is the dynamic fetch link for the latest Artifact.
// It is provided on a "best effort" basis, and using the precise
// BucketStatus.Artifact data is recommended.
// HelmChartStatus.Artifact data is recommended.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please undo this change

@matheuscscp

Copy link
Copy Markdown
Member

Actually, this bug is already fixed in the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:release/v1.9.x To be backported to release/v1.9.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants