Skip to content

fix(cli): remove exp scaletest from slim binary #9934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix namespace read
  • Loading branch information
johnstcn committed Oct 3, 2023
commit a31a2d37b94f8f3dcc05eef629209acbbb3a7381
4 changes: 2 additions & 2 deletions scaletest/templates/scaletest-runner/scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ fetch_coder_full() {
target_path="${target_dir}/coder"
local pod
local namespace
namespace=<(/var/run/secrets/kubernetes.io/serviceaccount/namespace)
if [[ -z ${namespace} ]]; then
namespace=$(</var/run/secrets/kubernetes.io/serviceaccount/namespace)
if [[ -z "${namespace}" ]]; then
log "Could not determine namespace!"
exit 1
fi
Expand Down