Renovate now supports keeping Docker dependencies up-to-date in Kubernetes manifests.

How it Works

A new kubernetes manager type has been added to Renovate. You need to add one or more fileMatch values to tell it where to find your file(s), and after that it will keep the Docker dependency versions up-to-date like any other Docker definitions file we support (e.g. Dockerfile, Docker Compose files, CircleCI, etc.). Please see our Docker documentation for full details.

Configuring

If most .yaml files in your repository are Kubnernetes ones, then you could add this to your config:

{
  "kubernetes": {
    "fileMatch": ["(^|/)[^/]*\\.yaml$"]
  }
}

If instead you have them all inside a k8s/ directory, you would add this:

{
  "kubernetes": {
    "fileMatch": ["k8s/.+\\.yaml$"]
  }
}

Or if it’s just a single file then something like this:

{
  "kubernetes": {
    "fileMatch": ["^config/k8s.yaml$"]
  }
}

Credit

Thank you to Maximilian Gaß for contributing this PR.

Rhys Arkins

Rhys Arkins, creator of Renovate