Add e2e test for apex service custom metadata

This commit is contained in:
stefanprodan
2020-04-04 16:48:35 +03:00
parent c609a90959
commit 37527854d2
+10
View File
@@ -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