Skip to content

Commit

Permalink
fix(MeshTCPRoute): allow MeshGateway listener tags (#9240)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont authored Feb 13, 2024
1 parent 424e891 commit e510fbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func validateTop(targetRef common_api.TargetRef) validators.ValidationError {
common_api.MeshService,
common_api.MeshServiceSubset,
},
GatewayListenerTagsAllowed: true,
},
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@ to:
kind: MeshService
name: backend
`),
Entry("accepts MeshGateway targeted route", `
Entry("accepts MeshGateway with listener tags targeted route", `
type: MeshTCPRoute
mesh: mesh-1
name: route-1
targetRef:
kind: MeshGateway
name: edge
tags:
port: 6000
to:
- targetRef:
kind: Mesh
Expand Down

0 comments on commit e510fbc

Please sign in to comment.