baseline/.renovaterc.json
Sebastian Mark 86b0bca49e format(renovate): simplify regex patterns in config
- use glob pattern instead of regex where possible
2025-05-05 15:22:45 +02:00

48 lines
1.2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>infrastructure/renovate-config"
],
"customManagers": [
{
"customType": "regex",
"description": "k3s",
"managerFilePatterns": [
"playbook.yml"
],
"matchStrings": [
"\\s+k3s_version:\\s(?<currentValue>.*)"
],
"depNameTemplate": "k3s-io/k3s",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "ArgoCD",
"managerFilePatterns": [
"argocd-bootstrap/*.yml"
],
"matchStrings": [
"\\s+chart:\\s(?<depName>.*)",
"\\s+repo:\\s(?<registryUrl>.*)",
"\\s+version:\\s(?<currentValue>.*)"
],
"matchStringsStrategy": "combination",
"datasourceTemplate": "helm"
},
{
"customType": "regex",
"description": "Baseline Manifests",
"managerFilePatterns": [
"*.jsonnet"
],
"matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\",",
"\\s+version::\\s\\\"(?<currentValue>.*)\\\","
],
"matchStringsStrategy": "combination",
"datasourceTemplate": "helm"
}
]
}