mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-13 08:01:49 +00:00

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Rhys Arkins <rhys@arkins.net>
34 lines
989 B
Markdown
34 lines
989 B
Markdown
The `kubernetes` manager has no `managerFilePatterns` default patterns, so it won't match any files until you configure it with a pattern.
|
|
This is because there is no commonly accepted file/directory naming convention for Kubernetes YAML files and we don't want to check every single `*.yaml` file in repositories just in case any of them have Kubernetes definitions.
|
|
|
|
If most `.yaml` files in your repository are Kubernetes ones, then you could add this to your config:
|
|
|
|
```json
|
|
{
|
|
"kubernetes": {
|
|
"managerFilePatterns": ["/\\.yaml$/"]
|
|
}
|
|
}
|
|
```
|
|
|
|
If instead you have them all inside a `k8s/` directory, you would add this:
|
|
|
|
```json
|
|
{
|
|
"kubernetes": {
|
|
"managerFilePatterns": ["/k8s/.+\\.yaml$/"]
|
|
}
|
|
}
|
|
```
|
|
|
|
Or if it's only a single file then something like this:
|
|
|
|
```json
|
|
{
|
|
"kubernetes": {
|
|
"managerFilePatterns": ["/^config/k8s\\.yaml$/"]
|
|
}
|
|
}
|
|
```
|
|
|
|
If you need to change the versioning format, read the [versioning](../../versioning/index.md) documentation to learn more.
|