diff --git a/renovate.json b/renovate.json index 84de718..d2a8c60 100644 --- a/renovate.json +++ b/renovate.json @@ -15,14 +15,15 @@ "datasourceTemplate": "docker" }, { - "customType": "regex", - "matchStringsStrategy": "any", + "customType": "jsonata", + "fileFormat": "yaml", "managerFilePatterns": ["/.*/component-constructor.yaml$/"], "matchStrings": [ - "helmChart: (?.*):(?.*)\\s*helmRepository: (?.*)", - "helmChart: (?.*)\\s*helmRepository: (?.*)\\s*type: helm\\s*version: (?.*)" + "components.resources[type = 'helmChart'].{'depName': $split(access.helmChart, ':')[0], 'currentValue': $split(access.helmChart, ':')[1], 'registryUrl': access.helmRepository}", + "components.resources[type = 'helmChart'].{'depName': $split(access.helmChart, ':')[0], 'currentValue': version, 'registryUrl': access.helmRepository}" ], - "datasourceTemplate": "helm" + "datasourceTemplate": "helm", + "extractVersion": "^v?(?.*)$" } ] }