90 lines
2.3 KiB
JSON
90 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"local>infrastructure/renovate-config"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "k3s",
|
|
"fileMatch": [
|
|
"pb_install\\.yml"
|
|
],
|
|
"matchStrings": [
|
|
"\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"
|
|
],
|
|
"depNameTemplate": "k3s-io/k3s",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "ArgoCD",
|
|
"fileMatch": [
|
|
"argocd-init\\.yml$"
|
|
],
|
|
"matchStrings": [
|
|
"\\s+chart:\\s(?<depName>.*)\\n\\s+repo:\\s(?<registryUrl>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
|
|
],
|
|
"datasourceTemplate": "helm"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Baseline",
|
|
"fileMatch": [
|
|
"\\.jsonnet$"
|
|
],
|
|
"matchStrings": [
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\",",
|
|
"\\s+version::\\s\\\"(?<currentValue>.*)\\\","
|
|
],
|
|
"matchStringsStrategy": "combination",
|
|
"datasourceTemplate": "helm"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Baseline - Prometheus",
|
|
"fileMatch": [
|
|
"prometheus-stack\\.jsonnet"
|
|
],
|
|
"matchStrings": [
|
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\",",
|
|
"\\s+\\\"version\\\":\\s\\\"(?<currentValue>.*)\\\","
|
|
],
|
|
"matchStringsStrategy": "combination",
|
|
"datasourceTemplate": "helm"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"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."
|
|
]
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|