mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
b08fa0cf8b
Co-authored-by: Rhys Arkins <rhys@arkins.net>
34 lines
953 B
Markdown
34 lines
953 B
Markdown
The `argocd` 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 argocd YAML files and we don't want to check every single `*.yaml` file in repositories just in case any of them have ArgoCD definitions.
|
|
|
|
If most `.yaml` files in your repository are argocd ones, then you could add this to your config:
|
|
|
|
```json
|
|
{
|
|
"argocd": {
|
|
"fileMatch": ["\\.yaml$"]
|
|
}
|
|
}
|
|
```
|
|
|
|
If instead you have them all inside a `argocd/` directory, you would add this:
|
|
|
|
```json
|
|
{
|
|
"argocd": {
|
|
"fileMatch": ["argocd/.+\\.yaml$"]
|
|
}
|
|
}
|
|
```
|
|
|
|
Or if it's only a single file then something like this:
|
|
|
|
```json
|
|
{
|
|
"argocd": {
|
|
"fileMatch": ["^config/applications\\.yaml$"]
|
|
}
|
|
}
|
|
```
|
|
|
|
If you need to change the versioning format, read the [versioning](https://docs.renovatebot.com/modules/versioning/) documentation to learn more.
|