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

fix: use native kubernetes and helm managers (#4)

This commit is contained in:
Robert Kaussow 2023-03-20 08:48:13 +01:00 committed by GitHub
parent 1891c838ea
commit e72466fa00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,13 @@
"description": ["Preset for use with kubernetes repositories"], "description": ["Preset for use with kubernetes repositories"],
"extends": ["github>thegeeklab/renovate-presets:base"], "extends": ["github>thegeeklab/renovate-presets:base"],
"flux": { "flux": {
"fileMatch": ["flux/.+\\.yaml$"] "fileMatch": ["flux/.+patch.*\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["flux/.+patch.*\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["flux/.+patch(Deployment)\\.ya?ml$"]
}, },
"packageRules": [ "packageRules": [
{ {
@ -20,15 +26,11 @@
"matchPackagePatterns": ["^hetznercloud/hcloud-cloud-controller-manager"], "matchPackagePatterns": ["^hetznercloud/hcloud-cloud-controller-manager"],
"matchUpdateTypes": ["pin", "digest"], "matchUpdateTypes": ["pin", "digest"],
"automerge": true "automerge": true
} },
],
"regexManagers": [
{ {
"fileMatch": ["^flux/.+\\.yaml$"], "description": "Disable kubernetes-api datasource",
"matchStrings": [ "datasources": ["kubernetes-api"],
"# renovate:\\n\\s+(image|imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"']+?)\"?'?\\s" "enabled": false
],
"datasourceTemplate": "docker"
} }
] ]
} }