diff --git a/pkg/router/appmesh.go b/pkg/router/appmesh.go index 311eb8a4..c8b36ae0 100644 --- a/pkg/router/appmesh.go +++ b/pkg/router/appmesh.go @@ -165,6 +165,14 @@ func (ar *AppMeshRouter) reconcileVirtualService(canary *flaggerv1.Canary, name MeshName: canary.Spec.Service.MeshName, VirtualRouter: &AppmeshV1beta1.VirtualRouter{ Name: fmt.Sprintf("%s-router", targetName), + Listeners: []AppmeshV1beta1.Listener{ + { + PortMapping: AppmeshV1beta1.PortMapping{ + Port: int64(canary.Spec.Service.Port), + Protocol: "http", + }, + }, + }, }, Routes: []AppmeshV1beta1.Route{ {