renovate/lib/manager/kustomize
Sergei Zharinov 68ebe08858
test: Explicit snapshots for manager tests (#11329)
* test: Explicit snapshots for manager tests

* Fix snapshots

* Remove obsolete snapshots
2021-08-19 08:09:55 +02:00
..
__fixtures__ fix(kustomize): reject invalid newTag (#11078) 2021-08-03 22:08:15 +02:00
__snapshots__ fix(kustomize): reject invalid newTag (#11078) 2021-08-03 22:08:15 +02:00
extract.spec.ts test: Explicit snapshots for manager tests (#11329) 2021-08-19 08:09:55 +02:00
extract.ts fix(kustomize): reject invalid newTag (#11078) 2021-08-03 22:08:15 +02:00
index.ts fix(kustomize): don’t pin digests (#8090) 2020-12-19 23:12:11 +01:00
readme.md docs: lint 2021-03-09 23:21:38 +01:00
types.ts refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00

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

  • Needs to have kind: Kustomization defined
  • 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