0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-13 08:01:49 +00:00
renovatebot_renovate/lib/modules/manager/crossplane/readme.md
RahulGautamSingh bc7d0595d0
feat(config): managerFilePatterns (#34615)
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>
2025-05-04 08:30:24 +00:00

39 lines
1.1 KiB
Markdown

To use the `crossplane` manager you must set your own `managerFilePatterns` pattern.
The `crossplane` manager has no default `managerFilePatterns` pattern, because there is no common filename or directory name convention for Crossplane YAML files.
By setting your own `managerFilePatterns` Renovate avoids having to check each `*.yaml` file in a repository for a Crossplane Package definition.
The `crossplane` manager supports these `depType`s:
- `configuration`
- `function`
- `provider`
You can use these `depType`'s to control which dependencies Renovate will upgrade.
If you need to change the versioning format, read the [versioning](../../../modules/versioning/index.md) documentation to learn more.
Some configuration examples:
```json title="If most .yaml files are for Crossplane"
{
"crossplane": {
"managerFilePatterns": ["/\\.yaml$/"]
}
}
```
```json title="For Crossplane files in a packages/ directory"
{
"crossplane": {
"managerFilePatterns": ["/packages/.+\\.yaml$/"]
}
}
```
```json title="For a single Crossplane file"
{
"crossplane": {
"managerFilePatterns": ["/^config/provider\\.yaml$/"]
}
}
```