2023-07-15 07:22:00 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2023-07-17 07:02:05 +00:00
|
|
|
"extends": ["local>infrastructure/renovate-config"],
|
2023-07-15 07:22:00 +00:00
|
|
|
"regexManagers": [
|
2023-07-17 08:46:36 +00:00
|
|
|
{
|
|
|
|
"description": "k3s",
|
|
|
|
"fileMatch": ["pb_install\\.yml"],
|
|
|
|
"matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"],
|
|
|
|
"depNameTemplate": "k3s-io/k3s",
|
|
|
|
"datasourceTemplate": "github-releases"
|
|
|
|
},
|
2023-07-15 07:22:00 +00:00
|
|
|
{
|
2023-07-15 14:17:41 +00:00
|
|
|
"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",
|
2023-07-15 07:22:00 +00:00
|
|
|
"fileMatch": ["\\.jsonnet$"],
|
|
|
|
"matchStrings": [
|
|
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
|
|
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",",
|
|
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
|
|
|
],
|
|
|
|
"matchStringsStrategy": "combination",
|
|
|
|
"datasourceTemplate": "helm"
|
|
|
|
},
|
|
|
|
{
|
2023-07-15 14:17:41 +00:00
|
|
|
"description": "Baseline - Prometheus",
|
2023-07-15 07:22:00 +00:00
|
|
|
"fileMatch": ["prometheus-stack\\.jsonnet"],
|
|
|
|
"matchStrings": [
|
|
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
|
|
"\\s+\\\"version\\\"\:\\s\\\"(?<currentValue>.*)\\\",",
|
|
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
|
|
|
],
|
|
|
|
"matchStringsStrategy": "combination",
|
|
|
|
"datasourceTemplate": "helm"
|
|
|
|
}
|
2023-07-25 21:24:57 +00:00
|
|
|
],
|
|
|
|
"packageRules": [
|
2023-07-31 15:28:11 +00:00
|
|
|
{
|
|
|
|
"description": "Merged updates not applied by gitops",
|
|
|
|
"matchPackageNames": ["k3s-io/k3s", "argo-cd", "argocd-apps"],
|
|
|
|
"prBodyNotes": [":warning: **Manual Intervention**: This update needs manual deployment. Please review and take appropriate action."]
|
|
|
|
},
|
2023-07-25 21:24:57 +00:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
2023-07-15 07:22:00 +00:00
|
|
|
]
|
|
|
|
}
|