From 17d96cbf77e98fd5a63043d9e61f9348d60dc5d0 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 10 Nov 2024 21:45:06 +0100 Subject: [PATCH] feat: handle container images in kubernetes env vars --- kubernetes.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kubernetes.json b/kubernetes.json index 0cd51f1..5bd41b8 100644 --- a/kubernetes.json +++ b/kubernetes.json @@ -49,7 +49,8 @@ ], "matchStrings": [ "\\s+(?:imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?", - "\\s+(?:image):\\s+&\\S+\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" + "\\s+(?:image):\\s+&\\S+\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?", + "- name:.+_IMAGE\\n\\s*value:\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" ], "datasourceTemplate": "docker" },