renovate/lib/modules/manager/helmv3
Rhys Arkins 143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
..
__fixtures__ refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
__snapshots__ refactor: rename lookupName -> packageName (#14494) 2022-03-04 09:04:02 +01:00
artifacts.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
artifacts.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
extract.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
extract.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
index.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
readme.md refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
types.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
update.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
update.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
utils.spec.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
utils.ts refactor: rename lookupName -> packageName (#14494) 2022-03-04 09:04:02 +01:00

Renovate supports updating Helm Chart references within requirements.yaml (Helm v2) and Chart.yaml (Helm v3) files.

If your Helm charts make use of repository Aliases then you will need to configure an aliases object in your config to tell Renovate where to look for them.

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: 'registry.gitlab.com',
      hostType: 'docker',
      username: '<some-username>',
      password: '<some-password>',
    },
    {
      // for repository string oci://registry.gitlab.com/user/oci-helm-test
      matchHost: 'https://registry.gitlab.com/user/oci-helm-test',
      hostType: 'docker',
      username: '<some-username>',
      password: '<some-password>',
    },
  ],
}

Helm repository

{
  hostRules: [
    {
      // global login
      matchHost: 'gitlab.com',
      username: '<some-username>',
      password: '<some-password>',
    },
    {
      // specific repository
      matchHost: 'https://gitlab.com/api/v4/projects/xxxxxxx/packages/helm/stable',
      username: '<some-username>',
      password: '<some-password>',
    },
  ],
}