Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

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

16 changes: 16 additions & 0 deletions networking/v1alpha3/virtual_service.gen.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@
"description": "rewrite the Authority/Host header with this value.",
"type": "string",
"format": "string"
},
"uriRegex": {
"$ref": "#/components/schemas/istio.networking.v1alpha3.UriRegexRewrite"
}
}
},
Expand Down Expand Up @@ -663,6 +666,19 @@
}
]
},
"istio.networking.v1alpha3.UriRegexRewrite": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"format": "string"
},
"substitution": {
"type": "string",
"format": "string"
}
}
},
"istio.networking.v1alpha3.HTTPFaultInjection.Delay": {
"description": "Delay specification is used to inject latency into the request forwarding path. The following example will introduce a 5 second delay in 1 out of every 1000 requests to the \"v1\" version of the \"reviews\" service from all pods with label env: prod",
"type": "object",
Expand Down
577 changes: 439 additions & 138 deletions networking/v1alpha3/virtual_service.pb.go

Large diffs are not rendered by default.

48 changes: 47 additions & 1 deletion networking/v1alpha3/virtual_service.pb.html

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

10 changes: 10 additions & 0 deletions networking/v1alpha3/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1470,6 +1470,16 @@ message HTTPRewrite {

// rewrite the Authority/Host header with this value.
string authority = 2;

// uri_regex can be used for rewriting portions of path that match the
// pattern during forwarding the request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// pattern during forwarding the request
// pattern when forwarding the request.

// RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
UriRegexRewrite uri_regex = 3;
}

message UriRegexRewrite {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string pattern = 1;
string substitution = 2;
}

// Describes how to match a given string in HTTP headers. Match is
Expand Down
21 changes: 21 additions & 0 deletions networking/v1alpha3/virtual_service_deepcopy.gen.go

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

11 changes: 11 additions & 0 deletions networking/v1alpha3/virtual_service_json.gen.go

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

16 changes: 16 additions & 0 deletions networking/v1beta1/virtual_service.gen.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@
"description": "rewrite the Authority/Host header with this value.",
"type": "string",
"format": "string"
},
"uriRegex": {
"$ref": "#/components/schemas/istio.networking.v1beta1.UriRegexRewrite"
}
}
},
Expand Down Expand Up @@ -663,6 +666,19 @@
}
]
},
"istio.networking.v1beta1.UriRegexRewrite": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"format": "string"
},
"substitution": {
"type": "string",
"format": "string"
}
}
},
"istio.networking.v1beta1.HTTPFaultInjection.Delay": {
"description": "Delay specification is used to inject latency into the request forwarding path. The following example will introduce a 5 second delay in 1 out of every 1000 requests to the \"v1\" version of the \"reviews\" service from all pods with label env: prod",
"type": "object",
Expand Down
Loading