Skip to content
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

Add support for VirtualService delegate #1209

Merged
merged 5 commits into from Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions networking/v1alpha3/virtual_service.gen.json
Expand Up @@ -112,6 +112,9 @@
"redirect": {
"$ref": "#/components/schemas/istio.networking.v1alpha3.HTTPRedirect"
},
"delegate": {
"$ref": "#/components/schemas/istio.networking.v1alpha3.Delegate"
},
"rewrite": {
"$ref": "#/components/schemas/istio.networking.v1alpha3.HTTPRewrite"
},
Expand Down Expand Up @@ -295,6 +298,22 @@
}
}
},
"istio.networking.v1alpha3.Delegate": {
"description": "Describes the delegate VirtualService. The following routing rules forward the traffic to `/productpage` by a delegate VirtualService named `productpage`, forward the traffic to `/reviews` by a delegate VirtualService named `reviews`.",
"type": "object",
"properties": {
"name": {
"description": "Name specifies the name of the delegate VirtualService.",
"type": "string",
"format": "string"
},
"namespace": {
"description": "Namespace specifies the namespace where the delegate VirtualService resides. By default, it is same to the root's.",
"type": "string",
"format": "string"
}
}
},
"istio.networking.v1alpha3.HTTPRewrite": {
"description": "HTTPRewrite can be used to rewrite specific parts of a HTTP request before forwarding the request to the destination. Rewrite primitive can be used only with HTTPRouteDestination. The following example demonstrates how to rewrite the URL prefix for api call (/ratings) to ratings service before making the actual API call.",
"type": "object",
Expand Down