mirror of
https://github.com/thegeeklab/renovate-presets.git
synced 2024-11-22 09:20:38 +00:00
feat: add kubernetes preset
This commit is contained in:
parent
a26aaada30
commit
29004a9573
37
kubernetes.json
Normal file
37
kubernetes.json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user