diff --git a/renovate.json b/renovate.json index 5db72dd..067ae3f 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,44 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "argocd": { + "fileMatch": ["apps/templates/.+\\.yaml$"] + }, + "helm-values": { + "fileMatch": ["apps/templates/.+\\.yaml$"] + }, + "kubernetes": { + "fileMatch": ["apps/templates/.+\\.yaml$"] + }, + "regexManagers": [ + { + "fileMatch": ["apps/templates/.+\\.yaml$"], + "matchStrings": [ + "repoURL: https://github.com/(?[^/]+/[^/\\.]+)\\.git\\n\\s+targetRevision: (?.*)" + ], + "datasourceTemplate": "github-tags" + }, + { + "fileMatch": ["apps/templates/.+\\.yaml$"], + "matchStrings": [ + "repoURL: (?.*?)\\n\\s+targetRevision: (?[^\\s]+)\\n\\s+chart: (?[^\\s]+)" + ], + "datasourceTemplate": "helm" + } + ], + "packageRules": [ + { + "matchDatasources": ["helm"], + "semanticCommits": "enabled", + "commitMessageTopic": "helm chart {{depName}}", + "separateMinorPatch": true + }, + { + "matchDatasources": ["github-tags"], + "semanticCommits": "enabled", + "commitMessageTopic": "{{depName}}", + "separateMinorPatch": true + } ] }