feat: add regex manager for env vars from config maps

This commit is contained in:
Robert Kaussow 2023-08-13 12:53:06 +02:00
parent 66fc8e445e
commit e72513796c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 8 additions and 1 deletions

View File

@ -40,7 +40,14 @@
{
"fileMatch": ["^flux/(.+/)patches/(postgresCluster)\\.ya?ml$"],
"matchStrings": [
"\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
"\\s+(?:imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
],
"datasourceTemplate": "docker"
},
{
"fileMatch": ["^flux/(.+/)patches/(config)\\.ya?ml$"],
"matchStrings": [
".+(?:_IMAGE):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
],
"datasourceTemplate": "docker"
},