feat(k8s/lubelogger): add Renovate config for automated patch/minor updates
This commit is contained in:
@@ -17,6 +17,7 @@ spec:
|
||||
interval: 1m0s
|
||||
values:
|
||||
image:
|
||||
# renovate: datasource=docker depName=ghcr.io/hargata/lubelogger
|
||||
tag: "v1.6.1"
|
||||
|
||||
updateStrategy:
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"kubernetes": {
|
||||
"fileMatch": ["kubernetes/app/lubelogger/.+\\.yaml$"]
|
||||
},
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["kubernetes/app/lubelogger/release\\.yaml$"],
|
||||
"matchStrings": [
|
||||
"#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\s*\\n\\s*tag:\\s*[\"']?(?<currentValue>[^\\s\"']+)"
|
||||
]
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchFileNames": ["kubernetes/app/lubelogger/**"],
|
||||
"semanticCommitScope": "k8s/lubelogger"
|
||||
},
|
||||
{
|
||||
"matchFileNames": ["kubernetes/app/lubelogger/**"],
|
||||
"matchPackageNames": ["ghcr.io/hargata/lubelogger"],
|
||||
"matchUpdateTypes": ["patch", "minor"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"matchFileNames": ["kubernetes/app/lubelogger/**"],
|
||||
"matchPackageNames": ["ghcr.io/hargata/lubelogger"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"description": "Ignore infrastructure images",
|
||||
"matchFileNames": ["kubernetes/app/lubelogger/**"],
|
||||
"matchPackageNames": ["postgres", "creativeprojects/resticprofile"],
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user