Package Rules Are Not Applied to Skipped Dependencies #32625
Unanswered
toledompm
asked this question in
Request Help
Replies: 1 comment 1 reply
-
I think this indicates we need one or both of these:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab - Latest
Please tell us more about your question or problem
When updating Helm chart versions in multiple Flux HelmRelease resources across various repositories, I encountered an issue. Flux requires a matching HelmRepository definition to exist in the same repository:
The issue occurred because the flux manager could not identify the registry URL for HelmRelease resources without a matching HelmRepository. To address this, I considered using a package rule to overwrite the registry URL for these dependencies. However, the flux manager marks such dependencies with a skipReason of unknown-registry, and package rules are not applied to skipped dependencies (source)
Does it make sense for package rules to bypass skipped dependencies? In cases like this, applying package rules might resolve the skip reason and allow Renovate to process these dependencies correctly.
I came up with a simple PR (#32620) and ran it locally to get a critical update out. However, I’d like to open a discussion to explore whether this feature or a similar approach could be included upstream. We are planning to roll out Renovate broadly and would like to avoid using a custom manager(similar to this suggestion).
I created a repo in my personal GH account with a similar setup to illustrate the situation better: https://github.com/toledompm/renovate-test
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions