diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index 8c000606772..6d180853775 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -113,6 +113,10 @@ if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then FLAKE_ATTEMPTS=2 fi +if [[ "${GINKGO_NO_COLOR}" == "y" ]]; then + ginkgo_args+=("--noColor") +fi + # The --host setting is used only when providing --auth_config # If --kubeconfig is used, the host to use is retrieved from the .kubeconfig # file and the one provided with --host is ignored.