registryAliases looks not applied by the helm-values manager
#44430
-
How are you running Renovate?Self-hosted Renovate CLI Which platform you running Renovate on?Other (please specify) Which version of Renovate are you using?43.256.0 Please tell us more about your question or problemMy original goal is to interfere with the loopupName suggested by the helm-values by translating myrepo.io/folder/xxx => myrepo.io/staging-folder/xxx I try to use registryAliases in that scope. Description
The same configuration does not produce any lookup change for dependencies managed by Environment
Minimal reproduction
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Registry aliases are applied during the extract phase. But Set it either at the top level (applies to all managers) or scoped to a specific manager by its name: {
"helm-values": {
"registryAliases": {
"docker.io": "registry.example.com"
}
}
}The docs show these two forms. |
Beta Was this translation helpful? Give feedback.
registryAliasesdoesn't take effect insidepackageRulesRegistry aliases are applied during the extract phase. But
packageRulesare only evaluated later, during the per-dependency lookup phase. So aregistryAliasesobject nested inside apackageRulesentry never reaches the extractor, and the alias is silently ignored.Set it either at the top level (applies to all managers) or scoped to a specific manager by its name:
{ "helm-values": { "registryAliases": { "docker.io": "registry.example.com" } } }The docs show these two forms.