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:
parent
bd402fdc7d
commit
35cd1b9ae1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue