0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-28 17:20:35 +00:00

fix kubernetes kustomize patches matcher

This commit is contained in:
Robert Kaussow 2023-07-02 12:46:33 +02:00
parent d2ceda691c
commit 66fc8e445e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -6,11 +6,13 @@
"fileMatch": ["^flux/.+\\.ya?ml$"] "fileMatch": ["^flux/.+\\.ya?ml$"]
}, },
"helm-values": { "helm-values": {
"fileMatch": ["^flux/(.+/)patch(HelmRelease)\\.ya?ml$"], "fileMatch": ["^flux/(.+/)patches/(helmRelease)\\.ya?ml$"],
"pinDigests": true "pinDigests": true
}, },
"kubernetes": { "kubernetes": {
"fileMatch": ["^flux/(.+/)patch(Deployment|Cluster|Tenant)\\.ya?ml$"] "fileMatch": [
"^flux/(.+/)patches/(deployment|postgresCluster|minioTenant)\\.ya?ml$"
]
}, },
"packageRules": [ "packageRules": [
{ {
@ -36,7 +38,7 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["^flux/(.+/)patch(Cluster)\\.ya?ml$"], "fileMatch": ["^flux/(.+/)patches/(postgresCluster)\\.ya?ml$"],
"matchStrings": [ "matchStrings": [
"\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s" "\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
], ],