File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -436,13 +436,22 @@ func checkUpgrade(t *testing.T) {
436436
437437 // change image to 1.8.1-tetrate-v0
438438 image := "containers.istio.tetratelabs.com/pilot:1.8.1-tetrate-v0"
439+ // Update the Istiod image
439440 patch := fmt .Sprintf (`{"spec":{"template":{"spec":{"containers":[{"name":"discovery","image":"%s"}]}}}}` ,
440441 image )
441442 cmd = exec .Command ("kubectl" , "patch" , "deployment" ,
442443 "-nistio-system" , "istiod" , "-p" , patch )
443444 cmd .Stdout = os .Stdout
444445 cmd .Stderr = os .Stderr
445446 require .NoError (t , cmd .Run ())
447+ // Update the ingress gateway image
448+ patch = fmt .Sprintf (`{"spec":{"template":{"spec":{"containers":[{"name":"istio-proxy","image":"%s"}]}}}}` ,
449+ image )
450+ cmd = exec .Command ("kubectl" , "patch" , "deployment" ,
451+ "-nistio-system" , "istio-ingressgateway" , "-p" , patch )
452+ cmd .Stdout = os .Stdout
453+ cmd .Stderr = os .Stderr
454+ require .NoError (t , cmd .Run ())
446455 require .Eventually (t , func () bool {
447456 cmd := exec .Command ("./getmesh" , "check-upgrade" )
448457 buf := new (bytes.Buffer )
You can’t perform that action at this time.
0 commit comments