mirror of https://github.com/linkerd/linkerd2.git
Prevent kind-load from resolving TAG when images are provided (#4634)
* Update the logic for resolving the tag based on script parameters Signed-off-by: Charles Pretzer <charles@buoyant.io>
This commit is contained in:
parent
82e91382b7
commit
84a29b9612
|
@ -58,12 +58,13 @@ cluster=${1:-"kind"}
|
|||
|
||||
bindir=$( cd "${0%/*}" && pwd )
|
||||
|
||||
# shellcheck source=_tag.sh
|
||||
. "$bindir"/_tag.sh
|
||||
# shellcheck source=_docker.sh
|
||||
. "$bindir"/_docker.sh
|
||||
|
||||
TAG=${TAG:-$(head_root_tag)}
|
||||
if [ -z "$images" ] || [ -n "$images_host" ]; then
|
||||
# shellcheck source=_tag.sh
|
||||
. "$bindir"/_tag.sh
|
||||
# shellcheck source=_docker.sh
|
||||
. "$bindir"/_docker.sh
|
||||
TAG=${TAG:-$(head_root_tag)}
|
||||
fi
|
||||
|
||||
# This is really to load the kind binary synchronously, before
|
||||
# the parallel executions below attempt doing so
|
||||
|
|
Loading…
Reference in New Issue