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/argocd/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

31 lines
954 B
Markdown

To use the `argocd` manager you must set your own `managerFilePatterns` pattern.
The `argocd` manager has no default `managerFilePatterns` pattern, because there is no common filename or directory name convention for Argo CD YAML files.
By setting your own `managerFilePatterns` Renovate avoids having to check each `*.yaml` file in a repository for a Argo CD definition.
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 in your repository are for Argo CD"
{
"argocd": {
"managerFilePatterns": ["/\\.yaml$/"]
}
}
```
```json title="Argo CD YAML files are in a argocd/ directory"
{
"argocd": {
"managerFilePatterns": ["/argocd/.+\\.yaml$/"]
}
}
```
```json title="One Argo CD file in a directory"
{
"argocd": {
"managerFilePatterns": ["/^config/applications\\.yaml$/"]
}
}
```