Skip to content

Automated Dependency Updates for Kustomize

Renovate supports updating Kustomize dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)kustomization\.yaml.

For details on how to extend a manager's fileMatch value, please follow this link.

Additional Information

This package will manage two parts of the kustomization.yaml file:

  1. remote bases
  2. image tags

How It Works

  1. Renovate will search each repository for any kustomization.yaml files.
  2. Existing dependencies will be extracted from remote bases & image tags
  3. Renovate will resolve the dependency's source repository and check for semver tags if found.
  4. If an update was found, Renovate will update kustomization.yaml

Limitations

  • Currently this hasn't been tested using https to fetch the repos
  • the image tags are limited to the following formats:
- name: image/name
  newTag: v0.0.1

or

- newTag: v0.0.1
  name: image/name