57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["local>infrastructure/renovate-config"],
|
|
"regexManagers": [
|
|
{
|
|
"description": "k3s",
|
|
"fileMatch": ["pb_install\\.yml"],
|
|
"matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"],
|
|
"depNameTemplate": "k3s-io/k3s",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"description": "ArgoCD",
|
|
"fileMatch": ["argocd-init\\.yml$"],
|
|
"matchStrings": [
|
|
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
|
|
],
|
|
"datasourceTemplate": "helm"
|
|
},
|
|
{
|
|
"description": "Baseline",
|
|
"fileMatch": ["\\.jsonnet$"],
|
|
"matchStrings": [
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",",
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
|
],
|
|
"matchStringsStrategy": "combination",
|
|
"datasourceTemplate": "helm"
|
|
},
|
|
{
|
|
"description": "Baseline - Prometheus",
|
|
"fileMatch": ["prometheus-stack\\.jsonnet"],
|
|
"matchStrings": [
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
"\\s+\\\"version\\\"\:\\s\\\"(?<currentValue>.*)\\\",",
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
|
],
|
|
"matchStringsStrategy": "combination",
|
|
"datasourceTemplate": "helm"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Separate minor and patch updates - Prometheus",
|
|
"matchPackageNames": ["kube-prometheus-stack"],
|
|
"separateMinorPatch": true
|
|
},
|
|
{
|
|
"description": "AutoMerge patch releases - Prometheus",
|
|
"matchPackageNames": ["kube-prometheus-stack"],
|
|
"matchUpdateTypes": ["patch"],
|
|
"automerge": true,
|
|
"ignoreTests": true
|
|
}
|
|
]
|
|
}
|