mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-03 10:49:20 +00:00
31 lines
888 B
Markdown
31 lines
888 B
Markdown
To use the `argocd` manager you must set your own `fileMatch` pattern.
|
|
The `argocd` manager has no default `fileMatch` pattern, because there is no common filename or directory name convention for Argo CD YAML files.
|
|
By setting your own `fileMatch` 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": {
|
|
"fileMatch": ["\\.yaml$"]
|
|
}
|
|
}
|
|
```
|
|
|
|
```json title="Argo CD YAML files are in a argocd/ directory"
|
|
{
|
|
"argocd": {
|
|
"fileMatch": ["argocd/.+\\.yaml$"]
|
|
}
|
|
}
|
|
```
|
|
|
|
```json title="One Argo CD file in a directory"
|
|
{
|
|
"argocd": {
|
|
"fileMatch": ["^config/applications\\.yaml$"]
|
|
}
|
|
}
|
|
```
|