chore(config): migrate config .renovaterc.json
This commit is contained in:
parent
a59c1c1d2d
commit
6e03aabbe3
1 changed files with 40 additions and 12 deletions
|
@ -1,25 +1,38 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["local>infrastructure/renovate-config"],
|
||||
"extends": [
|
||||
"local>infrastructure/renovate-config"
|
||||
],
|
||||
"regexManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "k3s",
|
||||
"fileMatch": ["pb_install\\.yml"],
|
||||
"matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"],
|
||||
"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$"],
|
||||
"fileMatch": [
|
||||
"argocd-init\\.yml$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
|
||||
],
|
||||
"datasourceTemplate": "helm"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Baseline",
|
||||
"fileMatch": ["\\.jsonnet$"],
|
||||
"fileMatch": [
|
||||
"\\.jsonnet$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
||||
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",",
|
||||
|
@ -29,11 +42,14 @@
|
|||
"datasourceTemplate": "helm"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Baseline - Prometheus",
|
||||
"fileMatch": ["prometheus-stack\\.jsonnet"],
|
||||
"fileMatch": [
|
||||
"prometheus-stack\\.jsonnet"
|
||||
],
|
||||
"matchStrings": [
|
||||
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
||||
"\\s+\\\"version\\\"\:\\s\\\"(?<currentValue>.*)\\\",",
|
||||
"\\s+\\\"version\\\":\\s\\\"(?<currentValue>.*)\\\",",
|
||||
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
||||
],
|
||||
"matchStringsStrategy": "combination",
|
||||
|
@ -43,18 +59,30 @@
|
|||
"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."]
|
||||
"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"],
|
||||
"matchPackageNames": [
|
||||
"kube-prometheus-stack"
|
||||
],
|
||||
"separateMinorPatch": true
|
||||
},
|
||||
{
|
||||
"description": "AutoMerge patch releases - Prometheus",
|
||||
"matchPackageNames": ["kube-prometheus-stack"],
|
||||
"matchUpdateTypes": ["patch"],
|
||||
"matchPackageNames": [
|
||||
"kube-prometheus-stack"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"patch"
|
||||
],
|
||||
"automerge": true,
|
||||
"ignoreTests": true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue