renovate/lib/modules/manager/kubernetes
Risu 397ab49ef3
docs(managers): add missing url and displayName (#32621)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-01 08:47:27 +00:00
..
__fixtures__ feat(util/yaml): replace more go templates (#29061) 2024-05-14 09:22:51 +00:00
extract.spec.ts feat(manager/kubernetes): only extract valid images (#31618) 2024-09-28 13:28:08 +00:00
extract.ts feat(manager/kubernetes): only extract valid images (#31618) 2024-09-28 13:28:08 +00:00
index.ts docs(managers): add missing url and displayName (#32621) 2024-12-01 08:47:27 +00:00
readme.md docs: fix versioning links (#28341) 2024-04-11 13:23:20 +00:00
types.ts feat(manager/kubernetes): extract kubernetes api versions (#16556) 2022-07-13 21:09:15 +02:00

readme.md

The kubernetes manager has no fileMatch 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:

{
  "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 only a single file then something like this:

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

If you need to change the versioning format, read the versioning documentation to learn more.