New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnvoyFilter: http Route match #16146
Conversation
Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
@@ -331,6 +334,15 @@ func translateRoute(push *model.PushContext, node *model.Proxy, in *networking.H | |||
Metadata: util.BuildConfigInfoMetadata(virtualService.ConfigMeta), | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is not gofmt
-ed with -s
(from gofmt
)
@@ -285,6 +324,24 @@ func TestApplyRouteConfigurationPatches(t *testing.T) { | |||
{ | |||
Name: "foo.com", | |||
Domains: []string{"domain"}, | |||
Routes: []*route.Route{ | |||
{ | |||
Name: "foo", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is not gofmt
-ed with -s
(from gofmt
)
doHttpRouteListOperation(proxy, patchContext, patches, routeConfiguration, virtualHost) | ||
} | ||
|
||
func doHttpRouteListOperation(proxy *model.Proxy, patchContext networking.EnvoyFilter_PatchContext, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func doHttpRouteListOperation should be doHTTPRouteListOperation (from golint
)
} | ||
} | ||
|
||
func doHttpRouteOperation(proxy *model.Proxy, patchContext networking.EnvoyFilter_PatchContext, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func doHttpRouteOperation should be doHTTPRouteOperation (from golint
)
Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
@rshriram: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
* add names to http routes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * vendor * adding HTTP_ROUTES Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * lint and fixes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * compile fixes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * fixes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * more fixes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * fixes Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * final fix Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
* Sync changes to old installer Cherrypicks istio#13392, istio#13666, istio#13982, istio#14077, istio#14059 * Cherrypick istio#14301 * Cherrypick istio#13638 * cherrypick istio#14606 * istio#14171 * istio#14438 * istio#14674 * istio#14974 * 14904 * istio#14796 * istio#15346 * istio#15345 * istio#15383 * istio#14815 * istio#15690 * istio#15681 * istio#15014 * istio#15503 * istio#16084 * istio#16146 * istio#16147 * Fix tests
Implements ability to match on HTTP Routes.
Singed-off-by: Shriram Rajagopalan rshriram@tetrate.io