2022-12-16 22:14:33 +01:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
"description": ["Preset for use with kubernetes repositories"],
|
|
|
|
"extends": ["github>thegeeklab/renovate-presets:base"],
|
|
|
|
"flux": {
|
2023-03-22 08:29:41 +01:00
|
|
|
"fileMatch": ["^flux/.+\\.ya?ml$"]
|
2023-03-21 09:25:27 +01:00
|
|
|
},
|
2023-03-21 13:56:09 +01:00
|
|
|
"helm-values": {
|
2023-04-16 13:20:30 +02:00
|
|
|
"fileMatch": ["^flux/(.+/)patch(HelmRelease|Tenant)\\.ya?ml$"],
|
2023-03-21 15:06:06 +01:00
|
|
|
"pinDigests": true
|
2023-03-21 13:56:09 +01:00
|
|
|
},
|
|
|
|
"kubernetes": {
|
2023-03-22 08:29:41 +01:00
|
|
|
"fileMatch": ["^flux/(.+/)patch(Deployment|Cluster)\\.ya?ml$"]
|
2023-03-21 13:56:09 +01:00
|
|
|
},
|
2022-12-16 22:14:33 +01:00
|
|
|
"packageRules": [
|
|
|
|
{
|
2022-12-19 21:16:52 +01:00
|
|
|
"description": "Set semantic commit scope for docker digests",
|
2022-12-16 22:14:33 +01:00
|
|
|
"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
|
2023-03-20 08:48:13 +01:00
|
|
|
},
|
2022-12-16 22:14:33 +01:00
|
|
|
{
|
2023-03-20 08:48:13 +01:00
|
|
|
"description": "Disable kubernetes-api datasource",
|
|
|
|
"datasources": ["kubernetes-api"],
|
|
|
|
"enabled": false
|
2022-12-16 22:14:33 +01:00
|
|
|
}
|
2023-03-21 16:07:26 +01:00
|
|
|
],
|
|
|
|
"regexManagers": [
|
|
|
|
{
|
2023-03-22 08:29:41 +01:00
|
|
|
"fileMatch": ["^flux/(.+/)patch(Cluster)\\.ya?ml$"],
|
2023-03-21 16:07:26 +01:00
|
|
|
"matchStrings": [
|
2023-03-22 08:29:41 +01:00
|
|
|
"\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
|
2023-03-21 16:07:26 +01:00
|
|
|
],
|
2023-03-22 18:58:19 +01:00
|
|
|
"datasourceTemplate": "docker"
|
2023-03-21 16:07:26 +01:00
|
|
|
}
|
2022-12-16 22:14:33 +01:00
|
|
|
]
|
|
|
|
}
|