From 35cd1b9ae15dcc528567b5983b85a5f5a4fe928a Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 7 Aug 2025 18:01:46 -0700 Subject: [PATCH] filter out comments in deploy helper env vars (#35847) Turns out a `.sh` file isn't actually a shell script :( Release Notes: - N/A --- script/lib/deploy-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib/deploy-helpers.sh b/script/lib/deploy-helpers.sh index c0feb2f861..bd7b3c4d6f 100644 --- a/script/lib/deploy-helpers.sh +++ b/script/lib/deploy-helpers.sh @@ -5,7 +5,7 @@ function export_vars_for_environment { echo "Invalid environment name '${environment}'" >&2 exit 1 fi - export $(cat $env_file) + export $(grep -v '^#' $env_file | grep -v '^[[:space:]]*$') } function target_zed_kube_cluster {