Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Dependents

Dependents are files that are updated when a project is released.

Dependent settings

KeyDescriptionNotes
typeThe type of the dependent.regex, toml, yaml, helm
pathThe path to the dependent file.For helm, use the chart directory.
selectorSelector for the version number in the dependent file.Required for toml, yaml, helm.
replaceString to replace the selector match with.Only for regex.

Dependent types

regex

Uses a regex to replace a version string. The {{version}} special sequence will be replaced with the next version.

dependents:
  - type: regex
    path: README.md
    selector: "nginx:.?\\d+\\.\\d+\\.\\d+"
    replace: "nginx:{{version}}"

toml

dependents:
  - type: toml
    path: dependency.toml
    selector: dependencies.server.version

yaml

dependents:
  - type: yaml
    path: deploy/config.yaml
    selector: package.version

helm

dependents:
  - type: helm
    path: charts/laravel
    selector: dependencies[name=common].version

If you need Chart.lock updates, use the --helm-dependency-update CLI option or run helm dependency update manually.