baseline/.renovaterc.json
Sebastian Mark f293d83ea0 feat(renovate): update package rules in .renovaterc.json
- Add new rule for `k3s-io/k3s`, `argo-cd` and `argocd-apps` packages
   - add note in PR body for manual intervention required for these updates

🤖
2023-08-02 23:13:00 +02:00

62 lines
2 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": "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
}
]
}