renovate/lib/modules/manager/helmv3
2022-08-16 14:22:29 +02:00
..
__fixtures__ fix(helmv3): do not attempt to update locks for local references (#15382) 2022-05-02 07:49:17 +00:00
__snapshots__ test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
artifacts.spec.ts test: simplify exec mock (#16698) 2022-07-22 07:42:30 +00:00
artifacts.ts refactor(fs): Rename getSubDirectory to getParentDir (#16446) 2022-07-07 06:44:21 +00:00
extract.spec.ts refactor: merge extract config types (#16204) 2022-08-09 05:26:35 +00:00
extract.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02:00
index.ts fix(manager): correctly escape the dot character in fileMatch (#17048) 2022-08-08 17:20:16 +02:00
readme.md feat(manager/gitlabci): add support for registryAliases (#16227) 2022-07-07 09:42:31 +02:00
types.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
update.spec.ts refactor: strict manager tests (#16155) 2022-06-20 17:05:39 +02:00
update.ts refactor(manager): strict null checks (#15151) 2022-04-17 14:34:26 +02:00
utils.spec.ts refactor: strict manager tests (#16155) 2022-06-20 17:05:39 +02:00
utils.ts feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00

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

The helmv3 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: '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>',
    },
  ],
}