Skip to content

Commit

Permalink
Use target port for virtual routers
Browse files Browse the repository at this point in the history
AppMesh does not support port mappings
  • Loading branch information
stefanprodan committed May 13, 2020
1 parent 6c9847a commit eccb4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/appmesh_v1beta2.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (ar *AppMeshv1beta2Router) reconcileVirtualRouter(canary *flaggerv1.Canary,
Listeners: []appmeshv1.VirtualRouterListener{
{
PortMapping: appmeshv1.PortMapping{
Port: appmeshv1.PortNumber(canary.Spec.Service.Port),
Port: ar.getContainerPort(canary),
Protocol: protocol,
},
},
Expand Down

0 comments on commit eccb4e4

Please sign in to comment.