From 83c7ba8bf4ad856d3e4605ea48079d7062b3c7d5 Mon Sep 17 00:00:00 2001 From: Anna Mager Date: Tue, 26 Nov 2024 15:48:17 +0100 Subject: [PATCH] fix(k8s-exec): use containerName if specified for kubernetes-exec actions --- core/src/plugins/kubernetes/kubernetes-type/kubernetes-exec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/plugins/kubernetes/kubernetes-type/kubernetes-exec.ts b/core/src/plugins/kubernetes/kubernetes-type/kubernetes-exec.ts index 0e2242ad79..0c28d514e5 100644 --- a/core/src/plugins/kubernetes/kubernetes-type/kubernetes-exec.ts +++ b/core/src/plugins/kubernetes/kubernetes-type/kubernetes-exec.ts @@ -167,6 +167,7 @@ async function readAndExec({ log, namespace, workload: target, + containerName: resource.containerName, command, interactive: false, streamLogs: true,