File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ configvar CSI_PROW_DRIVER_INSTALL "install_csi_driver" "name of the shell functi
212
212
configvar CSI_PROW_DRIVER_CANARY " ${CSI_PROW_HOSTPATH_CANARY} " " driver image override for canary images"
213
213
214
214
# Image registry to use for canary images.
215
- # Only valid if CSI_PROW_DRIVER_CANARY is set .
215
+ # Only valid if CSI_PROW_DRIVER_CANARY == "canary" .
216
216
configvar CSI_PROW_DRIVER_CANARY_REGISTRY " gcr.io/k8s-staging-sig-storage" " registry for canary images"
217
217
218
218
# The E2E testing can come from an arbitrary repo. The expectation is that
@@ -697,7 +697,11 @@ install_csi_driver () {
697
697
fi
698
698
699
699
if [ " ${CSI_PROW_DRIVER_CANARY} " != " stable" ]; then
700
+ if [ " ${CSI_PROW_DRIVER_CANARY} " == " canary" ]; then
700
701
images=" $images IMAGE_TAG=${CSI_PROW_DRIVER_CANARY} IMAGE_REGISTRY=${CSI_PROW_DRIVER_CANARY_REGISTRY} "
702
+ else
703
+ images=" $images IMAGE_TAG=${CSI_PROW_DRIVER_CANARY} "
704
+ fi
701
705
fi
702
706
# Ignore: Double quote to prevent globbing and word splitting.
703
707
# It's intentional here for $images.
You can’t perform that action at this time.
0 commit comments