Skip to content

Conversation

@tonur
Copy link
Contributor

@tonur tonur commented Dec 25, 2025

Changes

  • Extend the Flux manager’s Helm resolution to fall back to registryAliases keyed by HelmRelease.spec.chart.spec.sourceRef.name/HelmChart.spec.sourceRef.name when no matching HelmRepository resource is found in scanned manifests.

  • Preserve existing behavior when a matching HelmRepository exists (including OCI handling) and keep skipReason: 'unknown-registry' when neither a repository nor an alias is available.

  • Add unit tests to cover the new alias-based resolution for both HelmRelease and HelmChart.

  • Update the Flux manager documentation to describe how to use flux.registryAliases to statically map sourceRef.name values to registry URLs.

Context

Please select one of the following:

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

I used Github Copilot to work on this feature.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

@tonur
Copy link
Contributor Author

tonur commented Dec 26, 2025

I have tested that this works for my private repository and a public repository created specifically for this purpose here: https://github.com/tonur/renovate-test-flux-static-registry-aliases/pull/2/changes

@tonur tonur marked this pull request as ready for review December 26, 2025 11:32
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

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

use a package rule in docs and add tests for full coverage

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants