From 4f3609db107978e8dadb209de1c9b9be95125ac7 Mon Sep 17 00:00:00 2001 From: hbostan Date: Mon, 21 Oct 2024 14:09:58 +0000 Subject: [PATCH] Expand env variables in extract flag --- kubetest/extract_k8s.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kubetest/extract_k8s.go b/kubetest/extract_k8s.go index fe2581a372df..49980781c74c 100644 --- a/kubetest/extract_k8s.go +++ b/kubetest/extract_k8s.go @@ -73,6 +73,7 @@ func (l *extractStrategies) String() string { // Converts --extract=release/stable, etc into an extractStrategy{} func (l *extractStrategies) Set(value string) error { + value = os.ExpandEnv(value) var strategies = map[string]extractMode{ `^(bazel)$`: localBazel, `^(local)`: local,