exit if driver master deployment fails
@@ -24,7 +24,7 @@ while [[ -n "${1-}" ]]; do
esac
done
-kubectl wait -n gce-pd-csi-driver deployment csi-gce-pd-controller --for condition=available
+kubectl wait -n gce-pd-csi-driver deployment csi-gce-pd-controller --for condition=available || exit -1
retries=90
while [[ $retries -ge 0 ]]; do
