filter out comments in deploy helper env vars (#35847)

Turns out a `.sh` file isn't actually a shell script :(

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2025-08-07 18:01:46 -07:00 committed by GitHub
parent bd402fdc7d
commit 35cd1b9ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {