2022-12-16 21:14:33 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2024-01-17 20:08:31 +00:00
|
|
|
"description": ["Preset for use with Kubernetes repositories"],
|
2022-12-16 21:14:33 +00:00
|
|
|
"extends": ["github>thegeeklab/renovate-presets:base"],
|
|
|
|
"flux": {
|
2023-03-22 07:29:41 +00:00
|
|
|
"fileMatch": ["^flux/.+\\.ya?ml$"]
|
2023-03-21 08:25:27 +00:00
|
|
|
},
|
2023-03-21 12:56:09 +00:00
|
|
|
"helm-values": {
|
2023-08-13 11:12:02 +00:00
|
|
|
"fileMatch": [
|
2024-09-22 21:33:03 +00:00
|
|
|
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:helmRelease)\\.ya?ml$",
|
|
|
|
"^ansible/services/(?:.+/)helm/(?:.+/)release.ya?ml$"
|
2023-08-13 11:12:02 +00:00
|
|
|
],
|
2023-03-21 14:06:06 +00:00
|
|
|
"pinDigests": true
|
2023-03-21 12:56:09 +00:00
|
|
|
},
|
|
|
|
"kubernetes": {
|
2023-07-02 10:46:33 +00:00
|
|
|
"fileMatch": [
|
2024-09-22 21:33:03 +00:00
|
|
|
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:deployment|statefulSet|postgresCluster|minioTenant)\\.ya?ml$",
|
|
|
|
"^ansible/services/(?:.+/)kustomization/(?:.+/)component.ya?ml$"
|
2023-07-02 10:46:33 +00:00
|
|
|
]
|
2023-03-21 12:56:09 +00:00
|
|
|
},
|
2022-12-16 21:14:33 +00:00
|
|
|
"packageRules": [
|
|
|
|
{
|
2022-12-19 20:16:52 +00:00
|
|
|
"description": "Set semantic commit scope for docker digests",
|
2022-12-16 21:14:33 +00:00
|
|
|
"groupName": "docker digests",
|
|
|
|
"matchDatasources": ["docker"],
|
|
|
|
"matchUpdateTypes": ["pin", "digest"],
|
|
|
|
"semanticCommitScope": "docker"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Automerge digest updates (usually security patches)",
|
|
|
|
"groupName": "docker digests",
|
2024-02-15 11:16:19 +00:00
|
|
|
"extends": ["schedule:daily"],
|
2022-12-16 21:14:33 +00:00
|
|
|
"matchDatasources": ["docker"],
|
|
|
|
"matchPackagePatterns": ["^hetznercloud/hcloud-cloud-controller-manager"],
|
|
|
|
"matchUpdateTypes": ["pin", "digest"],
|
|
|
|
"automerge": true
|
2023-03-20 07:48:13 +00:00
|
|
|
},
|
2022-12-16 21:14:33 +00:00
|
|
|
{
|
2023-03-20 07:48:13 +00:00
|
|
|
"description": "Disable kubernetes-api datasource",
|
|
|
|
"datasources": ["kubernetes-api"],
|
|
|
|
"enabled": false
|
2022-12-16 21:14:33 +00:00
|
|
|
}
|
2023-03-21 15:07:26 +00:00
|
|
|
],
|
2023-11-15 08:15:36 +00:00
|
|
|
"customManagers": [
|
2023-03-21 15:07:26 +00:00
|
|
|
{
|
2023-11-15 08:15:36 +00:00
|
|
|
"customType": "regex",
|
2023-08-13 11:12:02 +00:00
|
|
|
"fileMatch": [
|
2024-07-01 18:42:37 +00:00
|
|
|
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:statefulSet|postgresCluster)\\.ya?ml$"
|
2023-08-13 11:12:02 +00:00
|
|
|
],
|
2023-03-21 15:07:26 +00:00
|
|
|
"matchStrings": [
|
2024-07-01 18:42:37 +00:00
|
|
|
"\\s+(?:imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?",
|
|
|
|
"\\s+(?:image):\\s+&\\S+\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
|
2023-08-13 10:53:06 +00:00
|
|
|
],
|
|
|
|
"datasourceTemplate": "docker"
|
|
|
|
},
|
|
|
|
{
|
2023-11-15 08:15:36 +00:00
|
|
|
"customType": "regex",
|
2023-08-13 11:12:02 +00:00
|
|
|
"fileMatch": ["^flux/(?:.+/)overlays/(?:.+/)(?:configmap)\\.ya?ml$"],
|
2023-08-13 10:53:06 +00:00
|
|
|
"matchStrings": [
|
2023-08-14 09:37:45 +00:00
|
|
|
".+(?:_IMAGE):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
|
2023-03-21 15:07:26 +00:00
|
|
|
],
|
2023-03-22 17:58:19 +00:00
|
|
|
"datasourceTemplate": "docker"
|
2023-04-23 13:23:18 +00:00
|
|
|
},
|
|
|
|
{
|
2023-11-15 08:15:36 +00:00
|
|
|
"customType": "regex",
|
2023-04-23 13:23:18 +00:00
|
|
|
"fileMatch": ["^flux/crds/.+\\.ya?ml$"],
|
|
|
|
"matchStrings": [
|
|
|
|
"# renovate: registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*)\\s.+k8up-(?<currentValue>.*?)/.+"
|
|
|
|
],
|
|
|
|
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}",
|
|
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
2023-03-21 15:07:26 +00:00
|
|
|
}
|
2022-12-16 21:14:33 +00:00
|
|
|
]
|
|
|
|
}
|