renovate/lib/modules/manager/kubernetes
Michael Kriese edf3c793dc
refactor(yaml): drop unused argument (#30804)
2024-08-15 13:42:53 +00:00
..
__fixtures__ feat(util/yaml): replace more go templates (#29061) 2024-05-14 09:22:51 +00:00
extract.spec.ts feat(util/yaml): replace more go templates (#29061) 2024-05-14 09:22:51 +00:00
extract.ts refactor(yaml): drop unused argument (#30804) 2024-08-15 13:42:53 +00:00
index.ts feat!: categories (#16534) 2023-07-04 19:21:52 +02: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.