mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 01:37:24 +00:00
be13c9f5f7
* feat(manager): share OCI Helm chart resolution across managers Add getOciChartDep() to helmv3/oci.ts and use it in argocd, fleet, flux, helmfile, helmsman, helmv3, kustomize, sveltos, terraform and vendir. - set pinDigests: false for OCI charts in all of them - apply registryAliases to OCI charts in argocd, helmfile and helmsman - keep the registry port in terraform helm_release repositories - skip fleet OCI charts without a version instead of using 'undefined' * docs(manager/helmv3): correct the OCI chart pinDigests rationale * refactor(manager/helmfile): drop redundant OCI repository url guard The repository schema already requires url to be a string, so the falsy branch could not be reached by parsed input and left the patch partially covered.
Checks helmfile.yaml files and extracts dependencies for the helm datasource.
The helmfile manager defines this default registryAlias:
{
"registryAliases": {
"stable": "https://charts.helm.sh/stable"
}
}
If your Helm charts make use of repository aliases then you will need to configure an registryAliases object in your config to tell Renovate where to look for them. Be aware that alias values must be properly formatted URIs.
If you need to change the versioning format, read the versioning documentation to learn more.
Private repositories and registries
To use private sources of Helm charts, you must set the password and username you use to authenticate to the private source.
For this you use a custom hostRules array.
OCI registries
{
hostRules: [
{
// global login
matchHost: 'ghcr.io',
hostType: 'docker',
username: '<some-username>',
password: '<some-password>',
},
{
// login with encrypted password
matchHost: 'https://ghci.io',
hostType: 'docker',
username: '<some-username>',
encrypted: {
password: 'some-encrypted-password',
},
},
],
}