August 04, 2018
Written by Rhys Arkins
Renovate now supports keeping Docker dependencies up-to-date in Kubernetes manifests. Read on to learn how to configure file matching to get it started.
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.
If most .yaml files in your repository are Kubernetes ones, then you could add this to your config:
“fileMatch”: [“(^|/)[^/]*\\.yaml$”] }
If instead you have them all inside a k8s/ directory, you would add this:
“fileMatch”: [“k8s/.+\\.yaml$”] }
Or if it’s just a single file then something like this:
“fileMatch”: [“^config/k8s.yaml$”] }
Thank you to Maximilian Gaß for contributing this PR.