diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..6e53bc7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "enabledManagers": ["custom.regex"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["(^|/)main\\.tf$"], + "matchStrings": [ + "chart *=.*\"(?.*?)\"\\).*\\s+chart_version *=.*\"(?.*?)\"\\).*\\s+repository *=.*\"(?https.*?)\"\\)" + ], + "datasourceTemplate": "helm" + }, + { + "customType": "regex", + "fileMatch": ["(^|/)main\\.tf$"], + "matchStrings": [ + "chart *=.*\"(?.*?)\"\\).*\\s+chart_version *=.*\"(?.*?)\"\\).*\\s+repository *=.*\"oci://(?.*?)\"\\)" + ], + "datasourceTemplate": "docker", + "packageNameTemplate": "{{namespace}}/{{depName}}" + } + ] +}