diff --git a/hack/e2e-test/install-kurator.sh b/hack/e2e-test/install-kurator.sh index 709dd3db..7fe12cff 100755 --- a/hack/e2e-test/install-kurator.sh +++ b/hack/e2e-test/install-kurator.sh @@ -10,9 +10,9 @@ KUBECONFIG_PATH=${KUBECONFIG_PATH:-"${HOME}/.kube"} MAIN_KUBECONFIG=${MAIN_KUBECONFIG:-"${KUBECONFIG_PATH}/kurator-host.config"} export KUBECONFIG=${MAIN_KUBECONFIG} COMMIT_ID=$(git rev-parse --short HEAD) -VERSION=$(echo "$COMMIT_ID" | grep -o '^[0-9]') - -sleep 10s +VERSION=$(echo "$COMMIT_ID" | sed 's/[^0-9]//g') +# Remove pilot zero of VERSION. +VERSION=$(echo "$VERSION" | sed 's/^0*//') helm repo add jetstack https://charts.jetstack.io helm repo update