mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Add e2e test for apex service custom metadata
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user