0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-25 08:10:39 +00:00

feat: add kubernetes preset

This commit is contained in:
Robert Kaussow 2022-12-16 22:14:33 +01:00
parent a26aaada30
commit 29004a9573
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

37
kubernetes.json Normal file
View File

@ -0,0 +1,37 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with kubernetes repositories"],
"extends": ["github>thegeeklab/renovate-presets:base"],
"flux": {
"fileMatch": ["flux/.+\\.yaml$"]
},
"packageRules": [
{
"description": "Set semantic commit scope for Docker digests",
"groupName": "docker digests",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["pin", "digest"],
"semanticCommitScope": "docker"
},
{
"description": "Automerge digest updates (usually security patches)",
"groupName": "docker digests",
"matchDatasources": ["docker"],
"matchPackagePatterns": ["^hetznercloud/hcloud-cloud-controller-manager"],
"matchUpdateTypes": ["pin", "digest"],
"automerge": true
}
],
"regexManagers": [
{
"fileMatch": [
"^flux/.+\\.yaml$",
"^ansible/services/.+/templates/.+\\.yaml.j2$"
],
"matchStrings": [
"# renovate:\\n\\s+image:\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"']+)\"?'?"
],
"datasourceTemplate": "docker"
}
]
}