0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-10-22 22:10:40 +00:00

feat(kubernetes): handle image refs with yaml anchors

This commit is contained in:
Robert Kaussow 2024-07-01 20:42:37 +02:00
parent 135f76e5d0
commit adfbd03eb5
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -43,10 +43,11 @@
{
"customType": "regex",
"fileMatch": [
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:postgresCluster)\\.ya?ml$"
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:statefulSet|postgresCluster)\\.ya?ml$"
],
"matchStrings": [
"\\s+(?:imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
"\\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]+))?\"?'?"
],
"datasourceTemplate": "docker"
},