Skip to content

Commit ed765ac

Browse files
committed
Add debug logging to version and apply
1 parent 4c0b80e commit ed765ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deploy/kubernetes/deploy-driver.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ then
8787
kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)
8888
fi
8989

90+
# Debug log: print kubectl version
91+
kubectl version
92+
9093
readonly tmp_spec=/tmp/gcp-compute-persistent-disk-csi-driver-specs-generated.yaml
9194
${KUSTOMIZE_PATH} build ${PKGDIR}/deploy/kubernetes/overlays/${DEPLOY_VERSION} | tee $tmp_spec
92-
kubectl apply -f $tmp_spec
95+
kubectl apply -v=9 -f $tmp_spec

0 commit comments

Comments
 (0)