renovate/lib/manager/kubernetes
2021-03-27 06:50:57 +01:00
..
__fixtures__ refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
__snapshots__ fix(docker): move autoReplaceStringTemplate (#6024) 2020-04-22 11:55:08 +02:00
extract.spec.ts refactor(test): move manager tests to lib (#5300) 2020-02-05 01:14:31 +01:00
extract.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
index.ts feat(internal): use autoReplace for docker managers (#5935) 2020-04-15 12:24:09 +02:00
readme.md docs: improve versioning documentation (#9017) 2021-03-27 06:50:57 +01:00

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 contain 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 just 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.