Fix replacing PXC images with sed in e2e functions
@@ -501,7 +501,8 @@ EOF
cat_config() {
cat "$1" \
| $sed -e "s#apiVersion: pxc.percona.com/v.*\$#apiVersion: $API#" \
- | $sed -e "s#image:.*-pxc\$#image: $IMAGE_PXC#" \
+ | $sed -e "s#image:.*-pxc\([0-9]*.[0-9]*\)\{0,1\}\$#image: $IMAGE_PXC#" \
+ | $sed -e "s#image:.*\/percona-xtradb-cluster:.*\$#image: $IMAGE_PXC#" \
| $sed -e "s#image:.*-pmm\$#image: $IMAGE_PMM#" \
| $sed -e "s#image:.*-backup\$#image: $IMAGE_BACKUP#" \
| $sed -e "s#image:.*-proxysql\$#image: $IMAGE_PROXY#"
