@@ -432,17 +432,27 @@ func checkUpgrade(t *testing.T) {
432
432
cmd .Stderr = os .Stderr
433
433
require .NoError (t , cmd .Run (), buf .String ())
434
434
actual := buf .String ()
435
- require .Contains (t , actual , "1.11.3 -tetrate-v0 is the latest version in 1.11 -tetrate" )
435
+ require .Contains (t , actual , "1.12.1 -tetrate-v1 is the latest version in 1.12 -tetrate" )
436
436
437
437
// change image to 1.8.1-tetrate-v0
438
438
image := "containers.istio.tetratelabs.com/pilot:1.8.1-tetrate-v0"
439
+ // Update the Istiod image
439
440
patch := fmt .Sprintf (`{"spec":{"template":{"spec":{"containers":[{"name":"discovery","image":"%s"}]}}}}` ,
440
441
image )
441
442
cmd = exec .Command ("kubectl" , "patch" , "deployment" ,
442
443
"-nistio-system" , "istiod" , "-p" , patch )
443
444
cmd .Stdout = os .Stdout
444
445
cmd .Stderr = os .Stderr
445
446
require .NoError (t , cmd .Run ())
447
+ // Update the ingress gateway image
448
+ image = "containers.istio.tetratelabs.com/proxyv2:1.8.1-tetrate-v0"
449
+ patch = fmt .Sprintf (`{"spec":{"template":{"spec":{"containers":[{"name":"istio-proxy","image":"%s"}]}}}}` ,
450
+ image )
451
+ cmd = exec .Command ("kubectl" , "patch" , "deployment" ,
452
+ "-nistio-system" , "istio-ingressgateway" , "-p" , patch )
453
+ cmd .Stdout = os .Stdout
454
+ cmd .Stderr = os .Stderr
455
+ require .NoError (t , cmd .Run ())
446
456
require .Eventually (t , func () bool {
447
457
cmd := exec .Command ("./getmesh" , "check-upgrade" )
448
458
buf := new (bytes.Buffer )
0 commit comments