diff --git a/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml b/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml index afb215d..d3c8e67 100644 --- a/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml +++ b/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml @@ -55,13 +55,13 @@ data: module.exports = { "repositories": ["v/infrastructure"], "flux": { - "fileMatch": ["flux/.+\\.yaml$"] + "fileMatch": ["flux/.+\\.ya?ml$"] }, "helm-values": { - "fileMatch": ["flux/.+\\.yaml$"] + "fileMatch": ["flux/.+\\.ya?ml$"] }, "kubernetes": { - "fileMatch": ["flux/.+\\.yaml$"] + "fileMatch": ["flux/.+\\.ya?ml$"] }, "hostRules": [ { @@ -79,5 +79,23 @@ data: "renovate/renovate" ] } + ], + "regexManagers": [ + { + "description": "Process GitRepository CRD dependencies - Chart and Github Release are the same version", + "fileMatch": ["flux/cluster/crds/.+\\.ya?ml$"], + "matchStrings": [ + "registryUrl=(?\\S+) chart=(?\\S+)\n.*?(?[^-\\s]*)\n" + ], + "datasourceTemplate": "helm" + }, + { + "description": "Process Kustomization CRD dependencies - Image and Github Release are the same version", + "fileMatch": ["flux/cluster/crds/.+\\.ya?ml$"], + "matchStrings": [ + "datasource=(?\\S+) image=(?\\S+)\n.*?-\\s(.*?)\/(?[^/]+)\/[^/]+\n" + ], + "datasourceTemplate": "docker" + } ] };