linkerd2/bin/kind-load

18 lines
323 B
Bash
Executable File

#!/bin/sh
set -eu
# If cluster name is unset or null, default to $USER.
cluster=${1:-$USER}
bindir=$( cd "${0%/*}" && pwd )
. "$bindir"/_tag.sh
tag=$(head_root_tag)
org_repo=gcr.io/linkerd-io
for img in proxy controller web grafana ; do
"$bindir"/kind load docker-image "$org_repo/$img:$tag" --name $cluster
done