mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
09fac4d9e2
While deploying Rook, there can be issues when the environment is not completely settled yet. On occasion the 1st kubectl command fails with The connection to the server ... was refused - did you specify the right host or port? This would set the 'ret' variable to a non-zero value, before the next retry of the kubectl command is done. In case the kubectl command succeeds, the 'ret' variable still contains the old non-zero value, and kubectl_retry returns the incorrect result. By setting the 'ret' variable to 0 before calling kubectl again, this problem is prevented. Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
k8s-storage | ||
build_step.inc.sh | ||
build-multi-arch-image.sh | ||
check-env.sh | ||
Dockerfile.devel | ||
Dockerfile.test | ||
golangci.yml.in | ||
gosec.sh | ||
install-helm.sh | ||
install-snapshot.sh | ||
lint-extras.sh | ||
lint-go.sh | ||
mdl-style.rb | ||
minikube.sh | ||
psp.yaml | ||
rook.sh | ||
skip-doc-change.sh | ||
snapshot-controller-psp.yaml | ||
test-go.sh | ||
travis-functest.sh | ||
travis-helmtest.sh |