From e72513796cd7fa97d8393fa133781883a3517952 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 13 Aug 2023 12:53:06 +0200 Subject: [PATCH] feat: add regex manager for env vars from config maps --- kubernetes.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kubernetes.json b/kubernetes.json index e1eefb5..0e61238 100644 --- a/kubernetes.json +++ b/kubernetes.json @@ -40,7 +40,14 @@ { "fileMatch": ["^flux/(.+/)patches/(postgresCluster)\\.ya?ml$"], "matchStrings": [ - "\\s+(imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+?)(@(?sha256:[a-f0-9]+))?\"?'?\\s" + "\\s+(?:imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" + ], + "datasourceTemplate": "docker" + }, + { + "fileMatch": ["^flux/(.+/)patches/(config)\\.ya?ml$"], + "matchStrings": [ + ".+(?:_IMAGE):\\s+\"?'?(?[^:\\s]+):(?[^\"'@]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" ], "datasourceTemplate": "docker" },