charts/renovate.json5

47 lines
1.2 KiB
Text

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"config:recommended"
],
"regexManagers": [
{
// Match and update Docker image and appVersion in Chart.yaml
"datasourceTemplate": "docker",
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
"matchStrings": [
"#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)"
]
},
{
// Match and bump chart version when appVersion changes
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
"matchStrings": [
"appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)",
"version:\\s*[\"']?(?<currentVersion>[\\w+\\.\\-]*)"
],
"datasourceTemplate": "regex",
"depNameTemplate": "chart-version-update",
"versioningTemplate": "semver",
"updateStrategy": "bump"
}
],
"packageRules": [
{
// Group chart version and appVersion updates together
"matchPackageNames": ["chart-version-update"],
"groupName": "Chart and AppVersion Updates",
"bumpVersion": true
}
],
"helmv3": {
"enabled": true
},
"rangeStrategy": "bump",
"timezone": "UTC",
"schedule": ["before 5am on Monday"]
}