Skip to content

Commit 553358f

Browse files
committed
Patches ingress-gateway deployment image for e2e
Signed-off-by: danehans <[email protected]>
1 parent 566c282 commit 553358f

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

e2e/e2e_test.go

+11-1
Original file line numberDiff line numberDiff line change
@@ -432,17 +432,27 @@ func checkUpgrade(t *testing.T) {
432432
cmd.Stderr = os.Stderr
433433
require.NoError(t, cmd.Run(), buf.String())
434434
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")
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+
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())
446456
require.Eventually(t, func() bool {
447457
cmd := exec.Command("./getmesh", "check-upgrade")
448458
buf := new(bytes.Buffer)

site/manifest.json

+15
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,21 @@
3939
],
4040
"is_security_patch": false
4141
},
42+
{
43+
"version": "1.12.1",
44+
"flavor": "istio",
45+
"flavor_version": 0,
46+
"k8s_versions": [
47+
"1.19",
48+
"1.20",
49+
"1.21",
50+
"1.22"
51+
],
52+
"release_notes": [
53+
"https://istio.io/latest/news/releases/1.12.x/announcing-1.12.1/"
54+
],
55+
"is_security_patch": false
56+
},
4257
{
4358
"version": "1.11.3",
4459
"flavor": "tetrate",

0 commit comments

Comments
 (0)