From 37527854d2c13aa1d6eff1903e2523fe99e629bb Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 1 Apr 2020 22:25:32 +0300 Subject: [PATCH] Add e2e test for apex service custom metadata --- test/e2e-istio-tests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/e2e-istio-tests.sh b/test/e2e-istio-tests.sh index 53231439..5dc4732c 100755 --- a/test/e2e-istio-tests.sh +++ b/test/e2e-istio-tests.sh @@ -60,6 +60,11 @@ spec: service: port: 9898 portDiscovery: true + apex: + annotations: + test: "annotations-test" + labels: + test: "labels-test" headers: request: add: @@ -110,6 +115,11 @@ done echo '✔ Canary initialization test passed' +kubectl -n test get svc/podinfo -oyaml | grep annotations-test +kubectl -n test get svc/podinfo -oyaml | grep labels-test + +echo '✔ Canary service custom metadata test passed' + echo '>>> Triggering canary deployment' kubectl -n test set image deployment/podinfo podinfod=stefanprodan/podinfo:3.1.1