mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 17:51:49 +00:00
be13c9f5f7
* feat(manager): share OCI Helm chart resolution across managers Add getOciChartDep() to helmv3/oci.ts and use it in argocd, fleet, flux, helmfile, helmsman, helmv3, kustomize, sveltos, terraform and vendir. - set pinDigests: false for OCI charts in all of them - apply registryAliases to OCI charts in argocd, helmfile and helmsman - keep the registry port in terraform helm_release repositories - skip fleet OCI charts without a version instead of using 'undefined' * docs(manager/helmv3): correct the OCI chart pinDigests rationale * refactor(manager/helmfile): drop redundant OCI repository url guard The repository schema already requires url to be a string, so the falsy branch could not be reached by parsed input and left the patch partially covered.
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
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$/"]
|
|
}
|
|
}
|
|
```
|
|
|
|
### OCI Helm charts
|
|
|
|
Renovate looks up Helm charts stored in OCI registries with the `docker` datasource.
|
|
Use [`registryAliases`](../../../configuration-options.md#registryaliases) to map a registry host, for example a pull-through cache, to the registry Renovate should query instead.
|