From 71186697ac262e8888e8208857707737ee25c6fb Mon Sep 17 00:00:00 2001 From: Mike Beaumont Date: Fri, 20 Sep 2024 15:57:54 +0200 Subject: [PATCH] test(e2e): also apply Kuma deploy envs with Helm (#11503) Signed-off-by: Mike Beaumont --- test/framework/k8s_cluster.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/framework/k8s_cluster.go b/test/framework/k8s_cluster.go index a05c8e8d8af4..d3b9b0716fc5 100644 --- a/test/framework/k8s_cluster.go +++ b/test/framework/k8s_cluster.go @@ -405,6 +405,10 @@ func (c *K8sCluster) genValues(mode string) map[string]string { values["controlPlane.logLevel"] = "debug" } + for key, value := range c.opts.env { + values[fmt.Sprintf("controlPlane.envVars.%s", key)] = value + } + switch mode { case core.Global: if !Config.UseLoadBalancer {