Skip to content

Commit

Permalink
fix: env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
siredmar committed Sep 5, 2024
1 parent 3cf5d8c commit 399e325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/environment
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ if [ ! -z ${BUILDKITE_PLUGIN_KIND_CLUSTER_CONFIG_PATH:-} ]; then
fi

echo "--- :k8s: Setting Cluster Name"
if [ ! -z ${BUILDKITE_PLUGIN_KIND_CLUSTER_NAME:-} ]; then
export CLUSTER_NAME=${BUILDKITE_PLUGIN_KIND_CLUSTER_NAME}
if [ ! -z ${BUILDKITE_PLUGIN_KIND_CLUSTER_CLUSTER_NAME:-} ]; then
export CLUSTER_NAME=${BUILDKITE_PLUGIN_KIND_CLUSTER_CLUSTER_NAME}
else
export CLUSTER_NAME=buildkite-${BUILDKITE_STEP_ID:-000}
fi
Expand Down

0 comments on commit 399e325

Please sign in to comment.