misc: improve build scripts
This commit is contained in:
parent
54918c0ff2
commit
162ecb97e9
2 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,8 @@ DEV_IMAGE=${REGISTRY}/nginx-ingress-controller:${TAG}
|
|||
{ [ "$(minikube status | grep -c Running)" -ge 2 ] && minikube status | grep -qE ': Configured$|Correctly Configured'; } \
|
||||
|| minikube start \
|
||||
--extra-config=kubelet.sync-frequency=1s \
|
||||
--extra-config=apiserver.authorization-mode=RBAC
|
||||
--extra-config=apiserver.authorization-mode=RBAC \
|
||||
--kubernetes-version=v1.15.0
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
eval $(minikube docker-env --shell bash)
|
||||
|
|
|
@ -69,6 +69,8 @@ until kubectl get secret | grep -q -e ^ingress-nginx-e2e-token; do \
|
|||
sleep 3; \
|
||||
done
|
||||
|
||||
echo -e "Starting the e2e test pod"
|
||||
|
||||
kubectl run --rm \
|
||||
--attach \
|
||||
--restart=Never \
|
||||
|
|
Loading…
Reference in a new issue