Include dots in regex for image version substitution.
@@ -13,8 +13,8 @@ docker build . \
-t "kudobuilder/controller:$VERSION"
# Generate the kudo.yaml that is used to install KUDO while running e2e-test
-./bin/kubectl-kudo init --dry-run --output yaml \
- | sed -E -e "/image:/ s/:[[:alnum:]]+/:$VERSION/" -e '/imagePullPolicy/ s/Always/Never/' \
+./bin/kubectl-kudo init --dry-run --output yaml --kudo-image kudobuilder/controller:$VERSION \
+ | sed -E -e '/imagePullPolicy/ s/Always/Never/' \
> test/manifests/kudo.yaml
sed "s/%version%/$VERSION/" kudo-e2e-test.yaml.tmpl > kudo-e2e-test.yaml
